Skip to content

Commit

Permalink
chore: remove support for Python 3.6. Support Python 3.11
Browse files Browse the repository at this point in the history
  * Update the code and docs to remove support for Python 3.6.
  * State that Python 3.11 is supported.
  * Add Python 3.11 to the testing in the CI

Closes: #512
  • Loading branch information
JohnVillalovos authored and mjs committed Aug 17, 2023
1 parent 4b344d1 commit 635fbad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.9"
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ library.

========================= ========================================
Current version 2.3.1
Supported Python versions 3.6 - 3.10
Supported Python versions 3.7 - 3.11
License New BSD
Project home https://github.com/mjs/imapclient/
PyPI https://pypi.python.org/pypi/IMAPClient
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Convenience methods are provided for commonly used functionality.
* Exceptions are raised when errors occur.
Python versions 3.6 through 3.10 are officially supported.
Python versions 3.7 through 3.11 are officially supported.
IMAPClient includes comprehensive units tests and automated
functional tests that can be run against a live IMAP server.
Expand All @@ -51,7 +51,7 @@
package_data=dict(imapclient=["examples/*.py"]),
extras_require={"doc": doc_deps},
long_description=desc,
python_requires=">=3.6.0",
python_requires=">=3.7.0",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down
7 changes: 1 addition & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
[tox]
skipsdist = True
minversion = 3.0
envlist=py36,py37,py38,py39,py310,black,flake8
envlist=py37,py38,py39,py310,py311,black,flake8

[testenv]
commands=python -m unittest
deps = -r{toxinidir}/requirements-dev.txt

[testenv:py34]
setenv=
VIRTUALENV_PIP=19.0.1
VIRTUALENV_SETUPTOOLS=43.0.0

[testenv:black]
basepython = python3
envdir={toxworkdir}/lint
Expand Down

0 comments on commit 635fbad

Please sign in to comment.