Skip to content

Commit

Permalink
Merge pull request #82 from hugovk/master
Browse files Browse the repository at this point in the history
Add support for Python 3.12 and drop EOL 3.7
  • Loading branch information
cpburnz authored Sep 7, 2023
2 parents 072788f + e4d509c commit e6433f6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
python: ["3.7", "3.8", "3.9", "3.10", "3.11.0-rc - 3.11",
"pypy-3.7", "pypy-3.8", "pypy-3.9"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12",
"pypy-3.8", "pypy-3.9"]

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

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
allow-prereleases: true

- name: Install tox
run: python -m pip install tox
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand All @@ -28,7 +28,7 @@ dynamic = ["version"]
license = {text = "MPL 2.0"}
name = "pathspec"
readme = "README-dist.rst"
requires-python = ">=3.7"
requires-python = ">=3.8"

[project.urls]
"Source Code" = "https://github.com/cpburnz/python-pathspec"
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
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 :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries :: Python Modules
Expand All @@ -27,7 +27,7 @@ version = attr: pathspec._meta.__version__

[options]
packages = find:
python_requires = >=3.7
python_requires = >=3.8
setup_requires = setuptools>=40.8.0
test_suite = tests

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, py310, py311, py312, pypy3
envlist = py38, py39, py310, py311, py312, pypy3
isolated_build = True

[testenv]
Expand Down

0 comments on commit e6433f6

Please sign in to comment.