langchain-ollama 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langchain-ollama
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: An integration package connecting Ollama and LangChain
5
5
  Home-page: https://github.com/langchain-ai/langchain
6
6
  License: MIT
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3.9
11
11
  Classifier: Programming Language :: Python :: 3.10
12
12
  Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
- Requires-Dist: langchain-core (==0.2.36)
14
+ Requires-Dist: langchain-core (>=0.2.36,<0.3.0)
15
15
  Requires-Dist: ollama (>=0.3.0,<1)
16
16
  Project-URL: Repository, https://github.com/langchain-ai/langchain
17
17
  Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-ollama%3D%3D0%22&expanded=true
@@ -1,12 +1,19 @@
1
+ [build-system]
2
+ requires = [ "poetry-core>=1.0.0",]
3
+ build-backend = "poetry.core.masonry.api"
4
+
1
5
  [tool.poetry]
2
6
  name = "langchain-ollama"
3
- version = "0.1.2"
7
+ version = "0.1.3"
4
8
  description = "An integration package connecting Ollama and LangChain"
5
9
  authors = []
6
10
  readme = "README.md"
7
11
  repository = "https://github.com/langchain-ai/langchain"
8
12
  license = "MIT"
9
13
 
14
+ [tool.mypy]
15
+ disallow_untyped_defs = "True"
16
+
10
17
  [tool.poetry.urls]
11
18
  "Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/ollama"
12
19
  "Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-ollama%3D%3D0%22&expanded=true"
@@ -14,78 +21,63 @@ license = "MIT"
14
21
  [tool.poetry.dependencies]
15
22
  python = ">=3.8.1,<4.0"
16
23
  ollama = ">=0.3.0,<1"
17
- langchain-core = "0.2.36"
24
+ langchain-core = "^0.2.36"
25
+
26
+ [tool.ruff.lint]
27
+ select = [ "E", "F", "I", "T201",]
28
+
29
+ [tool.coverage.run]
30
+ omit = [ "tests/*",]
31
+
32
+ [tool.pytest.ini_options]
33
+ addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
34
+ markers = [ "compile: mark placeholder test used to compile integration tests without running them",]
35
+ asyncio_mode = "auto"
18
36
 
19
37
  [tool.poetry.group.test]
20
38
  optional = true
21
39
 
40
+ [tool.poetry.group.codespell]
41
+ optional = true
42
+
43
+ [tool.poetry.group.test_integration]
44
+ optional = true
45
+
46
+ [tool.poetry.group.lint]
47
+ optional = true
48
+
49
+ [tool.poetry.group.dev]
50
+ optional = true
51
+
22
52
  [tool.poetry.group.test.dependencies]
23
53
  pytest = "^7.4.3"
24
54
  pytest-asyncio = "^0.23.2"
25
55
  syrupy = "^4.0.2"
26
56
  pytest-socket = "^0.7.0"
27
- langchain-core = { path = "../../core", develop = true }
28
- langchain-standard-tests = { path = "../../standard-tests", develop = true }
29
-
30
- [tool.poetry.group.codespell]
31
- optional = true
32
57
 
33
58
  [tool.poetry.group.codespell.dependencies]
34
59
  codespell = "^2.2.6"
35
60
 
36
- [tool.poetry.group.test_integration]
37
- optional = true
38
-
39
61
  [tool.poetry.group.test_integration.dependencies]
40
62
 
41
- [tool.poetry.group.lint]
42
- optional = true
43
-
44
63
  [tool.poetry.group.lint.dependencies]
45
64
  ruff = "^0.1.8"
46
65
 
47
66
  [tool.poetry.group.typing.dependencies]
48
67
  mypy = "^1.7.1"
49
- langchain-core = { path = "../../core", develop = true }
50
-
51
- [tool.poetry.group.dev]
52
- optional = true
53
-
54
- [tool.poetry.group.dev.dependencies]
55
- langchain-core = { path = "../../core", develop = true }
56
-
57
- [tool.ruff.lint]
58
- select = [
59
- "E", # pycodestyle
60
- "F", # pyflakes
61
- "I", # isort
62
- "T201", # print
63
- ]
64
68
 
65
- [tool.mypy]
66
- disallow_untyped_defs = "True"
69
+ [tool.poetry.group.test.dependencies.langchain-core]
70
+ path = "../../core"
71
+ develop = true
67
72
 
68
- [tool.coverage.run]
69
- omit = ["tests/*"]
73
+ [tool.poetry.group.test.dependencies.langchain-standard-tests]
74
+ path = "../../standard-tests"
75
+ develop = true
70
76
 
71
- [build-system]
72
- requires = ["poetry-core>=1.0.0"]
73
- build-backend = "poetry.core.masonry.api"
77
+ [tool.poetry.group.typing.dependencies.langchain-core]
78
+ path = "../../core"
79
+ develop = true
74
80
 
75
- [tool.pytest.ini_options]
76
- # --strict-markers will raise errors on unknown marks.
77
- # https://docs.pytest.org/en/7.1.x/how-to/mark.html#raising-errors-on-unknown-marks
78
- #
79
- # https://docs.pytest.org/en/7.1.x/reference/reference.html
80
- # --strict-config any warnings encountered while parsing the `pytest`
81
- # section of the configuration file raise errors.
82
- #
83
- # https://github.com/tophat/syrupy
84
- # --snapshot-warn-unused Prints a warning on unused snapshots rather than fail the test suite.
85
- addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
86
- # Registering custom markers.
87
- # https://docs.pytest.org/en/7.1.x/example/markers.html#registering-markers
88
- markers = [
89
- "compile: mark placeholder test used to compile integration tests without running them",
90
- ]
91
- asyncio_mode = "auto"
81
+ [tool.poetry.group.dev.dependencies.langchain-core]
82
+ path = "../../core"
83
+ develop = true