Skip to content

Commit

Permalink
update requirements file, remove python 3.8 and add 3.12 to supported…
Browse files Browse the repository at this point in the history
… versions
  • Loading branch information
ThomasLaPiana authored and pattisdr committed Jun 16, 2024
1 parent 21eb4b2 commit 3fa9cb7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ jobs:
Pytest-Matrix:
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11"]
pydantic_version: ["1.8.2", "1.9.2", "1.10.9"]
python_version: ["3.9", "3.10", "3.11", "3.12"]
pydantic_version: ["2.2.1", "2.3.0", "2.4.2", "2.5.0"]
pyyaml_version: ["5.4.1", "6.0"]
runs-on: ubuntu-latest
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim-bullseye as base
FROM python:3.10-slim-bullseye as base

# Update pip in the base image since we'll use it everywhere
RUN pip install -U pip
Expand Down
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
nox.options.sessions = []
nox.options.reuse_existing_virtualenvs = True

TESTED_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"]
TESTED_PYDANTIC_VERSIONS = ["1.8.2", "1.9.2", "1.10.9"]
# These should match what is in the `pr_checks.yml` file for CI runs
TESTED_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]
TESTED_PYDANTIC_VERSIONS = ["2.2.1", "2.3.0", "2.4.2", "2.5.0"]
TESTED_PYYAML_VERSIONS = ["5.4.1", "6.0"]


Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pydantic==2.7.1
pydantic>=2.2.1,<=2.6.0
pyyaml>=5,<7
packaging>=20.0
bump-pydantic==0.8.0
eval_type_backport==0.2.0
bump-pydantic==0.8.0

0 comments on commit 3fa9cb7

Please sign in to comment.