Skip to content

Commit 3226616

Browse files
chore: Dropped support for Python 3.9, started testing with 3.14 (#447)
1 parent b5a7932 commit 3226616

File tree

5 files changed

+19
-43
lines changed

5 files changed

+19
-43
lines changed

.github/workflows/test_tap.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
strategy:
3939
matrix:
4040
python-version:
41+
- "3.14"
4142
- "3.13"
4243
- "3.12"
4344
- "3.11"
4445
- "3.10"
45-
- "3.9"
4646
# run the matrix jobs one after the other so they can benefit from caching
4747
max-parallel: 1
4848

@@ -72,13 +72,15 @@ jobs:
7272
virtualenvs-create: true
7373
virtualenvs-in-project: true
7474
- name: Set up Python ${{ matrix.python-version }}
75+
id: setup-python
7576
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
7677
with:
7778
python-version: ${{ matrix.python-version }}
79+
allow-prereleases: true
7880
cache: poetry
7981
- name: Install dependencies
8082
run: |
81-
poetry env use ${{ matrix.python-version }}
83+
poetry env use ${{ steps.setup-python.outputs.python-path }}
8284
poetry install
8385
- name: Type check with mypy
8486
id: type_check

poetry.lock

Lines changed: 11 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ beautifulsoup4 = "~=4.13.3"
3636
cryptography = { version = "~=45.0.2", python = ">3.9.0,<3.9.1 || >3.9.1" }
3737
nested-lookup = "~=0.2.25"
3838
PyJWT = "2.10.1"
39-
python = ">=3.9,<4"
39+
python = ">=3.10,<4"
4040
python-dateutil = "~=2.9"
4141
requests = "~=2.32.3"
4242
# For local SDK dev:
@@ -81,7 +81,7 @@ markers = [
8181
]
8282

8383
[tool.ruff]
84-
target-version = "py39"
84+
target-version = "py310"
8585

8686
[tool.ruff.lint]
8787
ignore = []

tap_github/scraping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _scrape_dependents(url: str, logger: logging.Logger) -> Iterable[dict[str, A
7373

7474
repos = [
7575
{"name_with_owner": name, "stars": s, "forks": f}
76-
for name, s, f in zip(repo_names, stars, forks)
76+
for name, s, f in zip(repo_names, stars, forks, strict=False)
7777
]
7878

7979
logger.debug(repos)

tap_github/tests/test_tap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_validate_repo_list_config(repo_list_config): # noqa: F811
5454
"repo": repo[0].split("/")[1],
5555
"repo_id": repo[1],
5656
}
57-
for repo in zip(repo_list_2_corrected, repo_list_2_ids)
57+
for repo in zip(repo_list_2_corrected, repo_list_2_ids, strict=False)
5858
]
5959
tap = TapGitHub(config=repo_list_config)
6060
partitions = tap.streams["repositories"].partitions

0 commit comments

Comments
 (0)