Compare commits

...

10 Commits

Author SHA1 Message Date
Bagatur
a96d698d04 poetry 2024-01-27 16:25:24 -08:00
Bagatur
4421da72b8 undo 2024-01-27 15:49:33 -08:00
Bagatur
669b263648 nit 2024-01-27 15:45:16 -08:00
Bagatur
554b424ec9 Merge branch 'master' into bagatur/3_12_ci 2024-01-27 15:35:30 -08:00
Bagatur
b522d11b13 community 2024-01-27 15:35:04 -08:00
Bagatur
1367bb2c7c specific 2024-01-27 15:23:39 -08:00
Bagatur
dbe17c9ba7 fix 2024-01-27 14:37:07 -08:00
Bagatur
347663c6a9 poetry 2024-01-27 14:28:38 -08:00
Bagatur
030426a024 numpy versions 2024-01-27 14:24:50 -08:00
Bagatur
a33dfdb8c3 infra: add py3.12 to CI 2024-01-27 14:07:07 -08:00
12 changed files with 1956 additions and 1869 deletions

View File

@@ -68,6 +68,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }} extended tests
defaults:
run:

View File

@@ -24,6 +24,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

View File

@@ -28,6 +28,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: dependencies - Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

View File

@@ -21,7 +21,7 @@ jobs:
matrix:
python-version:
- "3.8"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

View File

@@ -33,7 +33,7 @@ jobs:
# so linting on fewer versions makes CI faster.
python-version:
- "3.8"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4

View File

@@ -28,6 +28,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

View File

@@ -14,7 +14,7 @@ env:
jobs:
build:
if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
outputs:

View File

@@ -20,7 +20,7 @@ env:
jobs:
build:
if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/master'
environment: Scheduled testing
runs-on: ubuntu-latest

View File

@@ -22,6 +22,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "langchain-community"
version = "0.0.16"
version = "0.0.17-rc.1"
description = "Community contributed LangChain integrations."
authors = []
license = "MIT"
@@ -13,7 +13,7 @@ langchain-core = ">=0.1.16,<0.2"
SQLAlchemy = ">=1.4,<3"
requests = "^2"
PyYAML = ">=5.3"
numpy = "^1"
numpy = [{version = "^1", python = "<=3.8"}, {version="^1", python=">=3.9" }]
aiohttp = "^3.8.3"
tenacity = "^8.1.0"
dataclasses-json = ">= 0.5.7, < 0.7"

View File

@@ -27,9 +27,12 @@ def test_required_dependencies(poetry_conf: Mapping[str, Any]) -> None:
dependencies = poetry_conf["dependencies"]
is_required = {
package_name: isinstance(requirements, str)
or not requirements.get("optional", False)
package_name: isinstance(requirement, str)
or not requirement.get("optional", False)
for package_name, requirements in dependencies.items()
for requirement in (
requirements if isinstance(requirements, list) else [requirements]
)
}
required_dependencies = [
package_name for package_name, required in is_required.items() if required