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

chore: Test with Python 3.13 #402

Merged
merged 2 commits into from
Oct 7, 2024
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
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -29,20 +30,19 @@ 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:
- uses: actions/checkout@v4
- 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 }}
3 changes: 0 additions & 3 deletions .github/workflows/constraints.txt

This file was deleted.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down