Skip to content

Commit

Permalink
Add support for Python 3.10 (#109)
Browse files Browse the repository at this point in the history
Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
Co-authored-by: Jason Madden <jamadden@gmail.com>
  • Loading branch information
3 people authored Oct 18, 2021
1 parent 9378f5a commit c659e19
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- ["3.7", "py37"]
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["pypy2", "pypy"]
- ["pypy3", "pypy3"]
- ["3.8", "docs"]
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "d3627ba9bcb25d0c7cb09b96d695040a20e0ab2b"
commit-id = "cf84a7fa675ab233c640c6208423a700b8cc874d"

[python]
with-pypy = true
Expand Down
14 changes: 7 additions & 7 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
Changes
=========

6.1.2 (unreleased)
6.2.0 (unreleased)
==================

- Nothing changed yet.

- Add support for Python 3.10.

6.1.1 (2021-10-13)
==================

- Fix incompatibility introduced in 6.1.0:
The `Bool` field constructor implicitly set required to False if not given.
While this is the desired behavior in most common cases,
The `Bool` field constructor implicitly set required to False if not given.
While this is the desired behavior in most common cases,
it broke special cases.
See `issue 104 <https://github.com/zopefoundation/zope.schema/issues/104>`_
See `issue 104 <https://github.com/zopefoundation/zope.schema/issues/104>`_
(scroll down, it is around the *reopen*).


6.1.0 (2021-02-09)
==================

- Fix ``IField.required`` to not be required by default.
- Fix ``IField.required`` to not be required by default.
See `issue 104 <https://github.com/zopefoundation/zope.schema/issues/104>`_.

6.0.1 (2021-01-25)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def read(*rnames):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Zope :: 3",
Expand Down
9 changes: 2 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ envlist =
py37
py38
py39
py310
pypy
pypy3
docs
Expand All @@ -18,8 +19,6 @@ envlist =
[testenv]
usedevelop = true
deps =
# Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
Sphinx < 4
commands =
zope-testrunner --test-path=src {posargs:-vc}
!py27-!pypy: sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
Expand All @@ -33,7 +32,7 @@ skip_install = true
deps =
flake8
check-manifest
check-python-versions
check-python-versions >= 0.19.1
wheel
commands =
flake8 src setup.py
Expand All @@ -43,8 +42,6 @@ commands =
[testenv:docs]
basepython = python3
skip_install = false
# Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
deps = Sphinx < 4
commands_pre =
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
Expand All @@ -57,8 +54,6 @@ allowlist_externals =
deps =
coverage
coverage-python-version
# Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
Sphinx < 4
commands =
mkdir -p {toxinidir}/parts/htmlcov
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.2.dev0
6.2.0.dev0

0 comments on commit c659e19

Please sign in to comment.