diff --git a/environment.yml b/environment.yml index f32cd41de..4e8e9b3c8 100644 --- a/environment.yml +++ b/environment.yml @@ -26,24 +26,24 @@ dependencies: - pylint==2.17.4 - pip>=23.1.2 - turbodbc==4.11.0 - - numpy>=1.23.4 - - oauthlib>=3.2.2 + - numpy>=1.23.4,<2.0.0 + - oauthlib>=3.2.2,<4.0.0 - cryptography>=38.0.3 - - azure-identity>=1.12.0 - - azure-storage-file-datalake>=12.12.0 - - azure-keyvault-secrets>=4.7.0 + - azure-identity>=1.12.0,<2.0.0 + - azure-storage-file-datalake>=12.12.0,<13.0.0 + - azure-keyvault-secrets>=4.7.0,<5.0.0 - azure-mgmt-storage>=21.0.0 - - boto3>=1.28.2 - - pyodbc>=4.0.39 - - fastapi>=0.110.0 - - httpx>=0.24.1 + - boto3>=1.28.2,<2.0.0 + - pyodbc>=4.0.39,<5.0.0 + - fastapi>=0.110.0,<1.0.0 + - httpx>=0.24.1,<1.0.0 - pyspark>=3.3.0,<3.6.0 - delta-spark>=2.2.0,<3.3.0 - grpcio>=1.48.1 - grpcio-status>=1.48.1 - googleapis-common-protos>=1.56.4 - - openjdk>=11.0.15, <12.0.0 - - openai>=1.13.3 + - openjdk>=11.0.15,<12.0.0 + - openai>=1.13.3,<2.0.0 - mkdocs-material==9.5.20 - mkdocs-material-extensions==1.3.1 - mkdocstrings==0.22.0 @@ -51,34 +51,35 @@ dependencies: - mkdocs-macros-plugin==1.0.1 - pygments==2.16.1 - pymdown-extensions==10.8.1 - - databricks-sql-connector>=3.1.0 - - semver>=3.0.0 + - databricks-sql-connector>=3.1.0,<4.0.0 + - semver>=3.0.0,<4.0.0 - xlrd>=2.0.1 - pygithub>=1.59.0 - - pydantic>=2.6.0 - - pyjwt>=2.8.0 + - pydantic>=2.6.0,<3.0.0 + - pyjwt>=2.8.0,<3.0.0 - twine==4.0.2 - - delta-sharing-python>=1.0.0 - - polars>=0.18.8 + - delta-sharing-python>=1.0.0,<2.0.0 + - polars>=0.18.8,<1.0.0 - moto[s3]>=4.1.14 - xarray>=2023.1.0,<2023.8.0 - - ecmwf-api-client>=1.6.3 - - netCDF4>=1.6.4 + - ecmwf-api-client>=1.6.3,<2.0.0 + - netCDF4>=1.6.4,<2.0.0 - black>=24.1.0 - - joblib==1.3.2 - - great-expectations>=0.18.8 + - joblib==1.3.2,<2.0.0 + - great-expectations>=0.18.8,<1.0.0 - pip: - - databricks-sdk>=0.20.0 - - dependency-injector>=4.41.0 - - azure-functions>=1.15.0 + - databricks-sdk>=0.20.0,<1.0.0 + - dependency-injector>=4.41.0,<5.0.0 + - azure-functions>=1.15.0,<2.0.0 - azure-mgmt-eventgrid>=10.2.0 - hvac>=1.1.1 - - langchain>=0.1.17 + - langchain>=0.2.0,<0.3.0 + - langchain-community>=0.2.0,<0.3.0 - build==0.10.0 - - deltalake>=0.10.1 + - deltalake>=0.10.1,<1.0.0 - trio>=0.22.1 - - sqlparams>=5.1.0 - - entsoe-py>=0.5.10 - - web3>=6.18.0 - - eth-typing>=4.2.3 + - sqlparams>=5.1.0,<6.0.0 + - entsoe-py>=0.5.10,<1.0.0 + - web3>=6.18.0,<7.0.0 + - eth-typing>=4.2.3,<5.0.0 - pandas>=1.5.2,<2.2.0 diff --git a/setup.py b/setup.py index 537b5f671..50f59eda8 100644 --- a/setup.py +++ b/setup.py @@ -29,19 +29,20 @@ long_description = (here / "PYPI-README.md").read_text() INSTALL_REQUIRES = [ - "databricks-sql-connector>=3.1.0", - "azure-identity>=1.12.0", + "databricks-sql-connector>=3.1.0,<4.0.0", + "azure-identity>=1.12.0,<2.0.0", "pandas>=1.5.2,<2.2.0", - "jinja2>=3.1.2", - "importlib_metadata>=1.0.0", - "semver>=3.0.0", - "xlrd>=2.0.1", + "jinja2>=3.1.2,<4.0.0", + "importlib_metadata>=1.0.0,<2.0.0", + "semver>=3.0.0,<4.0.0", + "xlrd>=2.0.1,<3.0.0", "grpcio>=1.48.1", "grpcio-status>=1.48.1", "googleapis-common-protos>=1.56.4", - "langchain>=0.1.17", - "openai>=1.13.3", - "pydantic>=2.6.0", + "langchain>=0.2.0,<0.3.0", + "langchain-community>=0.2.0,<0.3.0", + "openai>=1.13.3,<2.0.0", + "pydantic>=2.6.0,<3.0.0", ] PYSPARK_PACKAGES = [ @@ -50,23 +51,23 @@ ] PIPELINE_PACKAGES = [ - "dependency-injector>=4.41.0", - "databricks-sdk>=0.20.0", - "azure-storage-file-datalake>=12.12.0", + "dependency-injector>=4.41.0,<5.0.0", + "databricks-sdk>=0.20.0,<1.0.0", + "azure-storage-file-datalake>=12.12.0,<13.0.0", "azure-mgmt-storage>=21.0.0", "azure-mgmt-eventgrid>=10.2.0", - "boto3>=1.28.2", + "boto3>=1.28.2,<2.0.0", "hvac>=1.1.1", - "azure-keyvault-secrets>=4.7.0", - "web3>=6.18.0", - "polars[deltalake]>=0.18.8", - "delta-sharing>=1.0.0", + "azure-keyvault-secrets>=4.7.0,<5.0.0", + "web3>=6.18.0,<7.0.0", + "polars[deltalake]>=0.18.8,<1.0.0", + "delta-sharing>=1.0.0,<2.0.0", "xarray>=2023.1.0,<2023.8.0", - "ecmwf-api-client>=1.6.3", - "netCDF4>=1.6.4", - "joblib>=1.3.2", - "sqlparams>=5.1.0", - "entsoe-py>=0.5.10", + "ecmwf-api-client>=1.6.3,<2.0.0", + "netCDF4>=1.6.4,<2.0.0", + "joblib>=1.3.2,<2.0.0", + "sqlparams>=5.1.0,<6.0.0", + "entsoe-py>=0.5.10,<1.0.0", ] EXTRAS_DEPENDENCIES: dict[str, list[str]] = {