From 8e36b0c68fd1a6628fb7c39a262a1f18c5aca2ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Mon, 7 Oct 2024 14:28:50 -0600 Subject: [PATCH] chore: Test with Python 3.13 --- .github/workflows/ci.yml | 26 +++++++++++++------------- .github/workflows/constraints.txt | 3 --- pyproject.toml | 5 +++++ tox.ini | 2 +- 4 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/constraints.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82ea545..f063768 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,14 +9,15 @@ on: paths-ignore: - '**/README.md' +env: + FORCE_COLOR: 1 + jobs: test_tap: name: Test Tap connectivity and Configuration runs-on: ubuntu-latest - env: - PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt strategy: - fail-fast: true + fail-fast: false matrix: include: - python-version: "3.8" @@ -29,7 +30,9 @@ jobs: toxenv: py311 - python-version: "3.12" toxenv: py312 - - python-version: "3.11" + - python-version: "3.13" + toxenv: py313 + - python-version: "3.x" toxenv: deps steps: @@ -37,12 +40,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - architecture: x64 - - - name: Install Tox - run: | - pipx install tox - - - name: Test tap - run: | - tox -e ${{ matrix.toxenv }} + allow-prereleases: true + - uses: astral-sh/setup-uv@v3 + with: + version: ">=0.4.18" + - run: uv tool install tox + - run: uvx tox -e ${{ matrix.toxenv }} diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt deleted file mode 100644 index 5ffc2ad..0000000 --- a/.github/workflows/constraints.txt +++ /dev/null @@ -1,3 +0,0 @@ -pip==24.2 -poetry==1.8.3 -poetry-dynamic-versioning==1.4.1 diff --git a/pyproject.toml b/pyproject.toml index 4c747f1..f70dc77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,11 @@ known_first_party = [ ] [tool.deptry.package_module_name_map] +"backports-datetime-fromisoformat" = "backports.datetime_fromisoformat" faker = "faker" pytest = "pytest" responses = "responses" + +[tool.deptry.per_rule_ignores] +DEP001 = ["backports"] +DEP002 = ["backports-datetime-fromisoformat"] diff --git a/tox.ini b/tox.ini index 3545c5e..ded8e9b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] requires = tox>=4 -env_list = py{38,39,310,311,312}, deps +env_list = py{38,39,310,311,312,313}, deps [testenv] deps =