diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0be82f..1e3f05b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c57468e..c7a7b26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03d7b8c..307376e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -18,4 +18,4 @@ repos: - flake8-docstrings - flake8-string-format repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.1 diff --git a/README.rst b/README.rst index 42f0dc0..97fd93b 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 8299c23..8af0818 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/tox.ini b/tox.ini index 677f84d..53e5226 100644 --- a/tox.ini +++ b/tox.ini @@ -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]