Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loosen dependency versions #143

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions datasource_api_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
""" A client library for accessing Datasource API """

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The files are reformatted after black is upgraded.

from .client import AuthenticatedClient, Client
1 change: 1 addition & 0 deletions datasource_api_client/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Contains some shared types for properties """

from typing import BinaryIO, Generic, MutableMapping, Optional, Tuple, TypeVar

import attr
Expand Down
1 change: 1 addition & 0 deletions domino_data/_feature_store/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Feature Store module."""

from typing import Any, List, Optional, cast

import json
Expand Down
1 change: 1 addition & 0 deletions domino_data/_feature_store/run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Containing script to sync feature store from feast to domino"""

import argparse
import sys

Expand Down
1 change: 1 addition & 0 deletions domino_data/configuration_gen.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Code generated by gen.py; DO NOT EDIT.
This file was generated by robots at
2024-01-18 15:51:53.230967"""

from typing import Any, Dict, Optional, Union

from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions domino_data/data_sources.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Datasource module."""

from typing import Any, Dict, List, Optional, cast

import configparser
Expand Down
1 change: 0 additions & 1 deletion domino_data/training_sets/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Domino TrainingSet client library."""


from typing import List, Mapping, Optional

import json
Expand Down
1 change: 1 addition & 0 deletions feature_store_api_client/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions feature_store_api_client/types.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,247 changes: 575 additions & 672 deletions poetry.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@ classifiers = [ #! Update me
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropped Python 3.8 cause it's dropped in the latest Feast. We need to the latest Feast for Pandas 2 compatibility. Also the Python 3.8 security support ends in 6 month(Oct 2024).
https://endoflife.date/python

"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[tool.poetry.dependencies]
python = "^3.8"
pandas = "^1.3.0"
httpx = "^0.23.0"
python = "^3.9"
pandas = ">=1.3.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgraded as per the users' request

httpx = ">=0.23.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgraded to handle the conflicts with cohere==4.0 https://dominodatalab.atlassian.net/browse/DOM-56097

attrs = ">=20.1.0"
python-dateutil = "^2.8.0"
pyarrow = "^14.0.2"
loguru = "^0.5.3"
backoff = "^1.11.1"
backoff = ">=1.11.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgraded to handle the conflicts with cohere==4.0 https://dominodatalab.atlassian.net/browse/DOM-56097

bson = "^0.5.10"
urllib3 = "^1.26.16"

[tool.poetry.group.dev.dependencies]
Sphinx = "^5.3.0"
bandit = "^1.7.5"
black = {version = "^22.12.0", allow-prereleases = true}
black = {version = "^24.3.0", allow-prereleases = true}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgraded to remove the vulnerability CVE-2024-21503

darglint = "^1.8.1"
flake8 = "^4.0.1"
grpcio = "^1.56.2"
Expand Down Expand Up @@ -87,7 +87,7 @@ pinecone-client = "^2.2.4"

[tool.black]
# https://github.com/psf/black
target-version = ["py38"]
target-version = ["py39"]
line-length = 100
color = true

Expand All @@ -109,7 +109,7 @@ exclude = '''

[tool.isort]
# https://github.com/timothycrosley/isort/
py_version = 38
py_version = 39
line_length = 100

known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
Expand All @@ -124,7 +124,7 @@ color_output = true
[tool.mypy]
# mypy configurations: https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
exclude = 'datasource_api_client/|domino_data/training_sets/|.venv/|tests/|dist/'
python_version = 3.8
python_version = 3.9
pretty = true
show_traceback = true
color_output = true
Expand Down
46 changes: 23 additions & 23 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
anyio==4.3.0 ; python_version >= "3.8" and python_version < "4.0"
attrs==23.2.0 ; python_version >= "3.8" and python_version < "4.0"
backoff==1.11.1 ; python_version >= "3.8" and python_version < "4.0"
bson==0.5.10 ; python_version >= "3.8" and python_version < "4.0"
certifi==2024.2.2 ; python_version >= "3.8" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
exceptiongroup==1.2.0 ; python_version >= "3.8" and python_version < "3.11"
h11==0.14.0 ; python_version >= "3.8" and python_version < "4.0"
httpcore==0.16.3 ; python_version >= "3.8" and python_version < "4.0"
httpx==0.23.3 ; python_version >= "3.8" and python_version < "4.0"
idna==3.6 ; python_version >= "3.8" and python_version < "4.0"
loguru==0.5.3 ; python_version >= "3.8" and python_version < "4.0"
numpy==1.24.4 ; python_version >= "3.8" and python_version < "4.0"
pandas==1.5.3 ; python_version >= "3.8" and python_version < "4.0"
pyarrow==14.0.2 ; python_version >= "3.8" and python_version < "4.0"
python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "4.0"
pytz==2024.1 ; python_version >= "3.8" and python_version < "4.0"
rfc3986[idna2008]==1.5.0 ; python_version >= "3.8" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.8" and python_version < "4.0"
sniffio==1.3.1 ; python_version >= "3.8" and python_version < "4.0"
typing-extensions==4.10.0 ; python_version >= "3.8" and python_version < "3.11"
urllib3==1.26.18 ; python_version >= "3.8" and python_version < "4.0"
win32-setctime==1.1.0 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
anyio==4.3.0 ; python_version >= "3.9" and python_version < "4.0"
attrs==23.2.0 ; python_version >= "3.9" and python_version < "4.0"
backoff==2.2.1 ; python_version >= "3.9" and python_version < "4.0"
bson==0.5.10 ; python_version >= "3.9" and python_version < "4.0"
certifi==2024.2.2 ; python_version >= "3.9" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.9" and python_version < "4.0" and sys_platform == "win32"
exceptiongroup==1.2.1 ; python_version >= "3.9" and python_version < "3.11"
h11==0.14.0 ; python_version >= "3.9" and python_version < "4.0"
httpcore==1.0.5 ; python_version >= "3.9" and python_version < "4.0"
httpx==0.27.0 ; python_version >= "3.9" and python_version < "4.0"
idna==3.7 ; python_version >= "3.9" and python_version < "4.0"
loguru==0.5.3 ; python_version >= "3.9" and python_version < "4.0"
numpy==1.24.4 ; python_version >= "3.9" and python_version < "4.0"
pandas==2.2.2 ; python_version >= "3.9" and python_version < "4.0"
pyarrow==14.0.2 ; python_version >= "3.9" and python_version < "4.0"
python-dateutil==2.9.0.post0 ; python_version >= "3.9" and python_version < "4.0"
pytz==2024.1 ; python_version >= "3.9" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.9" and python_version < "4.0"
sniffio==1.3.1 ; python_version >= "3.9" and python_version < "4.0"
typing-extensions==4.11.0 ; python_version >= "3.9" and python_version < "3.11"
tzdata==2024.1 ; python_version >= "3.9" and python_version < "4.0"
urllib3==1.26.18 ; python_version >= "3.9" and python_version < "4.0"
win32-setctime==1.1.0 ; python_version >= "3.9" and python_version < "4.0" and sys_platform == "win32"
1 change: 1 addition & 0 deletions scripts/gen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Generator for Datasource Enums and Config entities."""

from typing import Any, Dict

import argparse
Expand Down
1 change: 1 addition & 0 deletions tests/feature_store/test_git.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test feature store git operations"""

from unittest.mock import MagicMock

import pytest as pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_vectordb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test Domino customized Pinecone OpenAPI Configuration"""

import os

from domino_data.vectordb import (
Expand Down
1 change: 1 addition & 0 deletions training_set_api_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
""" A client library for accessing TrainingSet API """

from .client import AuthenticatedClient, Client
1 change: 1 addition & 0 deletions training_set_api_client/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Contains some shared types for properties """

from typing import BinaryIO, Generic, MutableMapping, Optional, TextIO, Tuple, TypeVar, Union

import attr
Expand Down
Loading