Skip to content

Commit

Permalink
Develop on 3.12 by default (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek authored Nov 24, 2023
1 parent f67be59 commit 9b6116f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
- uses: actions/setup-python@v4
with:
# Keep in sync with tox.ini/docs & .readthedocs.yaml
python-version: "3.11"
python-version: "3.12"
cache: pip
- run: python -Im pip install tox

Expand Down
2 changes: 1 addition & 1 deletion .python-version-default
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.12
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build:
os: ubuntu-22.04
tools:
# Keep version in sync with ci.yml/docs & tox.ini/docs.
python: "3.11"
python: "3.12"

python:
install:
Expand Down
3 changes: 0 additions & 3 deletions docs/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ If your application requests a `Connection` instance before you register the loc

It is safer and easier to reason about your code if you keep the dependency arrows point from the local registry to the global one:

% Skip because Python 3.12 syntax and we can't build on it yet.
% skip: next

```python
# The global connection factory that creates and cleans up vanilla
# connections.
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ commands = pyright tests/typing src

[testenv:docs]
# Keep base_python in sync with ci.yml/docs and .readthedocs.yaml.
base_python = py311
base_python = py312
extras = docs
commands =
sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
Expand Down

0 comments on commit 9b6116f

Please sign in to comment.