Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.12 #515

Merged
merged 2 commits into from Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -15,8 +15,9 @@ jobs:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand All @@ -26,5 +27,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Test
run: python -m unittest discover
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -83,7 +83,7 @@ Installing
Prerequisites
-------------

* **pycparser** was tested with Python 3.7+ on Linux, Mac OS and Windows.
* **pycparser** was tested with Python 3.8+ on Linux, macOS and Windows.

* **pycparser** has no external dependencies. The only non-stdlib library it
uses is PLY, which is bundled in ``pycparser/ply``. The current PLY version is
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
@@ -1,5 +1,2 @@
[bdist_wheel]
universal = 1
eliben marked this conversation as resolved.
Show resolved Hide resolved

[metadata]
license_file = LICENSE
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -53,13 +53,13 @@ def make_release_tree(self, basedir, files):
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'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',
],
python_requires=">=3.7",
python_requires=">=3.8",
packages=['pycparser', 'pycparser.ply'],
package_data={'pycparser': ['*.cfg']},
cmdclass={'install': install, 'sdist': sdist},
Expand Down