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.4; add support for 3.8. #23

Merged
merged 7 commits into from Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .coveragerc
Expand Up @@ -4,9 +4,6 @@ source =
ComputedAttribute
ExtensionClass
MethodObject
omit =
tests/*.py
bootstrap.py

[report]
precision = 2
9 changes: 3 additions & 6 deletions .travis.yml
@@ -1,19 +1,16 @@
language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- pypy
- pypy3
matrix:
icemac marked this conversation as resolved.
Show resolved Hide resolved
include:
- python: "2.7"
env: PURE_PYTHON=1
- python: "3.7"
dist: xenial
sudo: true
env: PURE_PYTHON=1
install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,9 @@ Changelog
4.5 (unreleased)
----------------

- Nothing changed yet.
- Drop support for Python 3.4.

- Add support for Python 3.8.


4.4 (2018-10-05)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -6,7 +6,7 @@ ExtensionClass

This package provides a metaclass that allows classes implemented in
extension modules to be subclassed in Python. Unless you need
ExtensionClasses for legacy applications (e.g. Zope 2), you probably
ExtensionClasses for legacy applications (e.g. Zope), you probably
want to use Python's new-style classes (available since Python 2.2).

ComputedAttribute
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Expand Up @@ -7,14 +7,14 @@ environment:
matrix:
- python: 27
- python: 27-x64
- python: 34
- python: 34-x64
- python: 35
- python: 35-x64
- python: 36
- python: 36-x64
- python: 37
- python: 37-x64
- python: 38
- python: 38-x64

install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
Expand Down
189 changes: 0 additions & 189 deletions bootstrap.py

This file was deleted.

7 changes: 0 additions & 7 deletions setup.cfg
Expand Up @@ -2,12 +2,5 @@
ignore = C901,N801,N802,N803,N805,N806,N812,E301
exclude = bootstrap.py

[nosetests]
nocapture=1
cover-package=ComputedAttribute,ExtensionClass,MethodObject
cover-erase=1
with-doctest=1
where=src

[coverage:report]
show_missing = True
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -68,10 +68,10 @@
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py27,py27-pure,py34,py34-pure,py35,py35-pure,py36,py36-pure,py37,py37-pure, pypy,pypy3,coverage
py27,py27-pure,py35,py35-pure,py36,py36-pure,py37,py37-pure,py38,py38-pure,pypy,pypy3,coverage

[testenv]
install_command = pip install {opts} {packages}
Expand All @@ -15,12 +15,6 @@ basepython =
setenv =
PURE_PYTHON = 1

[testenv:py34-pure]
basepython =
python3.4
setenv =
PURE_PYTHON = 1

[testenv:py35-pure]
basepython =
python3.5
Expand All @@ -39,6 +33,12 @@ basepython =
setenv =
PURE_PYTHON = 1

[testenv:py38-pure]
icemac marked this conversation as resolved.
Show resolved Hide resolved
basepython =
python3.8
setenv =
PURE_PYTHON = 1

[testenv:coverage]
usedevelop = true
basepython =
Expand Down