Skip to content

Commit 34fadf0

Browse files
committed
Fix pyproject.toml
Make sure `pyproject.toml` contains the required properties.
1 parent c5f0c19 commit 34fadf0

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.github/workflows/release.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,8 @@ jobs:
7474
strategy:
7575
matrix:
7676
os: [ubuntu-latest, macos-latest, windows-latest]
77-
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*"]
77+
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
7878
cibw_arch: ["auto64"]
79-
exclude:
80-
# mypyc seems to be busted on Windows under Python 3.10
81-
- os: windows-latest
82-
cibw_python: "cp310-*"
8379

8480
defaults:
8581
run:
@@ -94,14 +90,12 @@ jobs:
9490
fetch-depth: 50
9591
submodules: true
9692

97-
- uses: pypa/cibuildwheel@v2.4.0
93+
- uses: pypa/cibuildwheel@v2.13.1
9894
env:
9995
CIBW_BUILD_VERBOSITY: 1
10096
CIBW_BUILD: ${{ matrix.cibw_python }}
10197
CIBW_ARCHS: ${{ matrix.cibw_arch }}
10298
CIBW_ENVIRONMENT: "PARSING_USE_MYPYC=1"
103-
CIBW_BEFORE_ALL_LINUX: >
104-
yum -y install libffi-devel
10599
CIBW_TEST_EXTRAS: "test"
106100
CIBW_TEST_COMMAND: >
107101
python {project}/parsing/tests/__init__.py

parsing/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
# supported platforms, publish the packages on PyPI, merge the PR
1111
# to the target branch, create a Git tag pointing to the commit.
1212

13-
__version__ = "2.0.0"
13+
__version__ = "2.0.1"

pyproject.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
[project]
2+
name = "parsing"
3+
description = "LR(1) parser generator for Python"
4+
requires-python = ">=3.7.0"
5+
dynamic = ["version"]
6+
17
[build-system]
28
requires = ["setuptools>=42", "wheel"]
39
build-backend = "setuptools.build_meta"
@@ -27,7 +33,5 @@ no_implicit_reexport = true
2733
strict_equality = true
2834

2935
[[tool.mypy.overrides]]
30-
module = [
31-
"parsing.tests.*",
32-
]
36+
module = ["parsing.tests.*"]
3337
ignore_errors = true

0 commit comments

Comments
 (0)