Skip to content

Commit

Permalink
Add Python 3.12 to supported versions. (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 17, 2023
1 parent 45e1948 commit 94ebfa3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- python-version: "3.11"
env:
TOXENV: py
- python-version: "3.12"
env:
TOXENV: py

# PyPY
- python-version: pypy3.8
Expand All @@ -30,7 +33,7 @@ jobs:
TOXENV: pypy3

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.12
- run: pip install --upgrade setuptools wheel
- run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package_dir={"": "src"},
packages=find_packages("src"),
py_modules=["protego"],
python_requires=">=3.7",
python_requires=">=3.8",
tests_require=["pytest"],
include_package_data=True,
keywords=["robots.txt", "parser", "robots", "rep"],
Expand All @@ -29,6 +29,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down

0 comments on commit 94ebfa3

Please sign in to comment.