Skip to content

Commit

Permalink
Build for Python 3.11 (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordemort authored Aug 31, 2022
1 parent 2e0f900 commit 26d070c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Windows isn't working right now: https://github.com/caketop/python-starlark-go/issues/4
# os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, macos-latest]
build: [cp310, cp39, cp38, cp37]
build: [cp311, cp310, cp39, cp38, cp37]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0-rc.1']

name: Python ${{ matrix.python-version }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Sphinx==5.1.1
Sphinx>=4.5.0,<5
importlib-metadata==4.12.0
myst-parser==0.18.0
myst-parser>=0.17.2,<0.18
readthedocs-sphinx-search==0.1.2
sphinx-book-theme==0.3.3
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ profile = "black"
lines_between_types = 1

[tool.cibuildwheel]
build = "cp37-* cp38-* cp39-* cp310-*"
build = "cp37-* cp38-* cp39-* cp310-* cp311-*"
skip = "*-musllinux_*"
test-requires = "pytest"
test-command = "pytest {project}/tests"
Expand Down
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

[options]
packages = find:
Expand All @@ -42,14 +43,15 @@ starlark_go =
py.typed

[tox:tox]
envlist = py37, py38, py39, py310
envlist = py37, py38, py39, py310, py311

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
deps =
Expand Down

0 comments on commit 26d070c

Please sign in to comment.