diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4232ce2..8911d57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,14 +20,15 @@ jobs: - ubuntu config: # [Python version, tox env] - - ["3.8", "lint"] + - ["3.9", "lint"] - ["2.7", "py27"] - ["3.5", "py35"] - ["3.6", "py36"] - ["3.7", "py37"] - ["3.8", "py38"] - ["3.9", "py39"] - - ["3.8", "coverage"] + - ["3.10", "py310"] + - ["3.9", "coverage"] runs-on: ${{ matrix.os }}-latest name: ${{ matrix.config[1] }} diff --git a/.gitignore b/.gitignore index 689079d..ce7f677 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Generated from: # https://github.com/zopefoundation/meta/tree/master/config/zope-product +*.dll *.egg-info/ *.profraw *.pyc @@ -27,4 +28,5 @@ lib64 log/ parts/ pyvenv.cfg +testing.log var/ diff --git a/.meta.toml b/.meta.toml index 0a21f87..7eef905 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/zope-product [meta] template = "zope-product" -commit-id = "94ed44ff9a0a89277cdc4d2071e6b03aa889aa80" +commit-id = "9a5db8c650c45a439db06e3a7b2b86318006659d" [python] with-pypy = false diff --git a/CHANGES.rst b/CHANGES.rst index 1a7d041..b5815a2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,8 @@ Changelog 6.3 (unreleased) ---------------- +- Add support for Python 3.10. + 6.2 (2021-07-06) ---------------- @@ -13,13 +15,13 @@ Changelog (`#16 `_) -- update package configuration +- Update package configuration. 6.1 (2021-03-16) ---------------- -- add support for Python 3.9 +- Add support for Python 3.9. 6.0 (2020-09-01) @@ -88,4 +90,3 @@ Changelog - Create a separate distribution called `Products.TemporaryFolder` without any code inside it. This allows projects to depend on this project inside the Zope 2.13 release line. - diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..b5c34d4 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,23 @@ + +# Contributing to zopefoundation projects + +The projects under the zopefoundation GitHub organization are open source and +welcome contributions in different forms: + +* bug reports +* code improvements and bug fixes +* documentation improvements +* pull request reviews + +For any changes in the repository besides trivial typo fixes you are required +to sign the contributor agreement. See +https://www.zope.dev/developer/becoming-a-committer.html for details. + +Please visit our [Developer +Guidelines](https://www.zope.dev/developer/guidelines.html) if you'd like to +contribute code changes and our [guidelines for reporting +bugs](https://www.zope.dev/developer/reporting-bugs.html) if you want to file a +bug report. diff --git a/MANIFEST.in b/MANIFEST.in index e3a6bda..3f80cf0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ # Generated from: # https://github.com/zopefoundation/meta/tree/master/config/zope-product +include *.md include *.rst include *.txt include buildout.cfg diff --git a/setup.py b/setup.py index e1861b4..f721612 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ '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', ], keywords='Zope ZODB temporary storage folder', diff --git a/tox.ini b/tox.ini index 0acfa80..6a4b356 100644 --- a/tox.ini +++ b/tox.ini @@ -10,14 +10,14 @@ envlist = py37 py38 py39 + py310 coverage [testenv] skip_install = true -# We need to pin setuptools until we have zc.buildout 3.0. deps = - setuptools < 52 - zc.buildout + zc.buildout >= 3.0.0rc3 + wheel > 0.37 commands_pre = py27,py35: {envbindir}/buildout -nc {toxinidir}/buildout4.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test !py27-!py35: {envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test @@ -32,7 +32,7 @@ allowlist_externals = mkdir commands = isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py - - flake8 --format=html {toxinidir}/src {toxinidir}/setup.py + - flake8 {toxinidir}/src {toxinidir}/setup.py flake8 {toxinidir}/src {toxinidir}/setup.py check-manifest check-python-versions @@ -41,8 +41,6 @@ deps = check-python-versions flake8 isort - # helper to generate HTML reports: - flake8-html # Useful flake8 plugins that are Python and Plone specific: flake8-coding flake8-debugger