From 84c773715322898fddbef457ca47b1273cc42732 Mon Sep 17 00:00:00 2001 From: rogeliolopez Date: Thu, 30 May 2024 19:54:27 -0600 Subject: [PATCH] bump-pydantic --- .github/workflows/test.yml | 6 +++--- Makefile | 2 +- requirements.txt | 2 +- setup.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ff81db..5c5b44d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2.2.1 with: - python-version: 3.8 + python-version: 3.10 - name: Install dependencies run: make install-test - name: Lint @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8] + python-version: [3.8, 3.8, 3.10] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -39,7 +39,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2.2.1 with: - python-version: 3.8 + python-version: 3.10 - name: Install dependencies run: make install-test - name: Generate coverage report diff --git a/Makefile b/Makefile index d5f48fa..f54c47d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL := bash PATH := ./venv/bin:${PATH} -PYTHON = python3.7 +PYTHON = python3.10 PROJECT = clabe isort = isort $(PROJECT) tests setup.py black = black -S -l 79 --target-version py38 $(PROJECT) tests setup.py diff --git a/requirements.txt b/requirements.txt index 62c77cd..a3e7f57 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pydantic==1.9.0 +pydantic==2.7.2 diff --git a/setup.py b/setup.py index 80d79db..c754762 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ packages=setuptools.find_packages(), include_package_data=True, package_data=dict(clabe=['py.typed']), - install_requires=['pydantic>=1.4,<2.0'], + install_requires=['pydantic>=2.0,<3.0'], classifiers=[ 'Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License',