Skip to content

Commit

Permalink
Add support for Python 3.5, 3.10, 3.11.
Browse files Browse the repository at this point in the history
- isort imports
- bring coverage to 100 %.
  • Loading branch information
Michael Howitz committed Dec 1, 2022
1 parent c648266 commit 1f4f871
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Changelog
5.0 (unreleased)
----------------

- Update PyPy version for Travis.
- Add support for Python 3.7, 3.8, 3.9, 3.10, 3.11.

- Add support for Python 3.7, 3.8 and 3.9.
- Update PyPy version for Travis.

- Drop support for Python 3.4 and 3.5.
- Drop support for Python 3.4.


4.3 (2017-09-08)
Expand Down
14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
##############################################################################

import os
from setuptools import setup, find_packages

from setuptools import find_packages
from setuptools import setup


version = '5.0.dev0'

Expand All @@ -38,21 +41,26 @@
classifiers=[
"Development Status :: 6 - Mature",
"Environment :: Web Environment",
"Framework :: Zope2",
"Framework :: Zope :: 2",
"Framework :: Zope :: 4",
"Framework :: Zope :: 5",
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
keywords="zope zope4 undo",
install_requires=[
'setuptools',
Expand Down
4 changes: 4 additions & 0 deletions src/ZopeUndo/tests/test_prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ def test_username_info(self):
for equal in (" eggs", "/ eggs", "/def eggs", "/a/b eggs",
"/a/b/c eggs", "/a/b/c/d eggs"):
self.assertEqual(p2, equal)

def test__repr__(self):
p1 = Prefix('/a/b')
self.assertEqual(repr(p1), "Prefix('/a/b')")

0 comments on commit 1f4f871

Please sign in to comment.