Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python < 3.6 #191

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ jobs:
os:
- ubuntu-latest
python-version:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10-dev
- pypy-2.7
- "3.10"
- pypy-3.6
- pypy-3.7
steps:
Expand Down Expand Up @@ -49,14 +46,11 @@ jobs:
os:
- macos-latest
python-version:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10-dev
- pypy-2.7
- "3.10"
- pypy-3.6
- pypy-3.7
steps:
Expand Down Expand Up @@ -86,13 +80,11 @@ jobs:
os:
- windows-latest
python-version:
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10-dev
- pypy-2.7
- "3.10"
- pypy-3.6
- pypy-3.7
steps:
Expand Down
8 changes: 8 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Release Notes
=============

Version 1.14.0
--------------

**Bugs Fixed**

* Drop support for Python 2.7 and 3.5, which are past their end of lifetime.


Version 1.13.1
--------------

Expand Down
10 changes: 2 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ keywords = wrapper, proxy, decorator
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: BSD License
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Comment on lines -19 to -20

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that you drop support for Python 2.7 explicitly, I guess it's perfectly valid to release it as 1.14.0 (contrary to what I originally wrote in #189 (comment)). I realized that pip will not install 1.14.0 in a Python 2.7 environment if the support is dropped explicitly.

Thanks a lot for this change ❤ - I fully support it (but you do not have to listen to a n00b like me 😉)

Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Expand All @@ -34,7 +31,7 @@ project_urls =

[options]
zip_safe = false
python_requires = >= 2.7, != 3.0.*, != 3.1.*, != 3.2.*, != 3.3.*, != 3.4.*
python_requires = >= 3.6
packages = find:
package_dir =
=src
Expand Down Expand Up @@ -71,19 +68,16 @@ norecursedirs = .tox venv

[tox:tox]
envlist =
py{27,35,36,37,38,39,310}-{without,install,disable}-extensions,
py{36,37,38,39,310}-{without,install,disable}-extensions,
pypy-without-extensions

[gh-actions]
python =
2.7: py27, py27-without-extensions, py27-install-extensions, py27-disable-extensions
3.5: py35, py35-without-extensions, py35-install-extensions, py35-disable-extensions
3.6: py36, py36-without-extensions, py36-install-extensions, py36-disable-extensions
3.7: py37, py37-without-extensions, py37-install-extensions, py37-disable-extensions
3.8: py38, py38-without-extensions, py38-install-extensions, py38-disable-extensions
3.9: py39, py39-without-extensions, py39-install-extensions, py39-disable-extensions
3.10: py310, py310-without-extensions, py310-install-extensions, py310-disable-extensions
pypy-2.7: pypy-without-extensions
pypy-3.6: pypy-without-extensions
pypy-3.7: pypy-without-extensions

Expand Down
2 changes: 1 addition & 1 deletion src/wrapt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version_info__ = ('1', '13', '1')
__version_info__ = ('1', '14', '0')
__version__ = '.'.join(__version_info__)

from .wrappers import (ObjectProxy, CallableObjectProxy, FunctionWrapper,
Expand Down
Loading