Skip to content

Commit

Permalink
Add Python 3.13, drop Python 3.8, update tool versions (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR authored Oct 16, 2024
1 parent 29dacfa commit c127c58
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: |
pip install --upgrade build twine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.8"
- python-version: "3.9"
- python-version: "3.10"
- python-version: "3.11"
- python-version: "3.12"
- python-version: "3.13"

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
- hooks:
- id: black
repo: https://github.com/ambv/black
rev: 23.12.1
rev: 24.10.0
- hooks:
- id: isort
repo: https://github.com/PyCQA/isort
Expand All @@ -18,4 +18,4 @@ repos:
- flake8-docstrings
- flake8-string-format
repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.1
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ zyte-parsers

.. description starts
``zyte-parsers`` is a Python 3.7+ library that contains functions to extract
``zyte-parsers`` is a Python 3.9+ library that contains functions to extract
data from webpage parts.

.. description ends
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"attrs>=21.3.0",
"gtin-validator>=1.0.3",
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ commands = pre-commit run --all-files --show-diff-on-failure

[testenv:mypy]
deps =
mypy==1.8.0
types-attrs==19.1.0
types-lxml==2023.10.21
pytest==7.4.3
mypy==1.11.2
attrs>=18.2.0
pytest==8.3.3
types-lxml==2024.9.16
commands = mypy {posargs:zyte_parsers tests}

[testenv:docs]
Expand Down

0 comments on commit c127c58

Please sign in to comment.