diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index a5340d2..f1e2a6c 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4de51b1..83915b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,12 +14,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=hyperstack -pytest-3.8: - extends: .pytest - image: python:3.8-alpine -pytest-3.9: - extends: .pytest - image: python:3.9-alpine pytest-3.10: extends: .pytest image: python:3.10-alpine diff --git a/pyproject.toml b/pyproject.toml index 9772078..76b246d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,20 +10,21 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "Infrahub-API"] include = ["hyperstack/py.typed"] [tool.poetry.dependencies] -python = "^3.8" +python = "^3.10" -urllib3 = ">= 1.25.3 < 3.0.0" +urllib3 = ">= 2.7.0 < 3.0.0" python-dateutil = ">= 2.8.2" pydantic = ">= 2" typing-extensions = ">= 4.7.1" [tool.poetry.dev-dependencies] -pytest = ">= 7.2.1" +pytest = ">= 9.0.3" pytest-cov = ">= 2.8.1" tox = ">= 3.9.0" flake8 = ">= 4.0.0" types-python-dateutil = ">= 2.8.19.14" mypy = ">= 1.5" +filelock = ">= 3.20.3" [build-system] diff --git a/requirements.txt b/requirements.txt index 67f7f68..f3bc069 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -urllib3 >= 1.25.3, < 3.0.0 +urllib3 >= 2.7.0, < 3.0.0 python_dateutil >= 2.8.2 pydantic >= 2 typing-extensions >= 4.7.1 diff --git a/setup.py b/setup.py index 629f05f..a3f50fa 100644 --- a/setup.py +++ b/setup.py @@ -22,9 +22,9 @@ # http://pypi.python.org/pypi/setuptools NAME = "hyperstack" VERSION = "v1.53.6-alpha" -PYTHON_REQUIRES = ">= 3.8" +PYTHON_REQUIRES = ">= 3.10" REQUIRES = [ - "urllib3 >= 1.25.3, < 3.0.0", + "urllib3 >= 2.7.0, < 3.0.0", "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", diff --git a/test-requirements.txt b/test-requirements.txt index e98555c..b24b21a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,7 @@ -pytest >= 7.2.1 +pytest >= 9.0.3 pytest-cov >= 2.8.1 tox >= 3.9.0 flake8 >= 4.0.0 types-python-dateutil >= 2.8.19.14 mypy >= 1.5 +filelock >= 3.20.3