Skip to content

Commit

Permalink
fix: uqfoundation#413, fix: uqfoundation#453, drop 2.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed May 25, 2022
1 parent 78e3d55 commit 8e5e450
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 30 deletions.
11 changes: 0 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ language: python

matrix:
include:
- python: '2.7'
dist: bionic
env:
- COVERAGE="true"

- python: '3.7'
env:

Expand All @@ -25,17 +20,11 @@ matrix:
- python: '3.11-dev'
env:

- python: 'pypy2.7-7.3.1' # most recent
dist: xenial
env:

- python: 'pypy3.7-7.3.5' # most recent
dist: bionic
env:

allow_failures:
- python: '2.7'
- python: 'pypy2.7-7.3.1'
- python: '3.11-dev'
fast_finish: true

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Requirements
------------
``dill`` requires:

* ``python`` (or ``pypy``), **==2.7** or **>=3.7**
* ``python`` (or ``pypy``), **>=3.7**
* ``setuptools``, **>=42**

Optional requirements:
Expand Down
2 changes: 1 addition & 1 deletion dill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
``dill`` requires:
- ``python`` (or ``pypy``), **==2.7** or **>=3.7**
- ``python`` (or ``pypy``), **>=3.7**
- ``setuptools``, **>=42**
Optional requirements:
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
tag_build = .dev0

[bdist_wheel]
#universal = 1
#python-tag = py3
#plat-name = manylinux1_x86_64

Expand Down
10 changes: 2 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
import os
import sys
# drop support for older python
unsupported = None
if sys.version_info < (2, 7):
unsupported = 'Versions of Python before 2.7 are not supported'
elif (3, 0) <= sys.version_info < (3, 7):
if sys.version_info < (3, 7):
unsupported = 'Versions of Python before 3.7 are not supported'
if unsupported:
raise ValueError(unsupported)

# get distribution meta info
Expand Down Expand Up @@ -84,14 +80,12 @@
'Source Code':'https://github.com/uqfoundation/dill',
'Bug Tracker':'https://github.com/uqfoundation/dill/issues',
},
python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*',
python_requires = '>=3.7',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand Down
8 changes: 0 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@
skip_missing_interpreters=
True
envlist =
# py26
# py27
# py33
# py34
# py35
# py36
py37
py38
py39
py310
py311
# pypy27
# pypy36
pypy37
pypy38
pypy39
Expand Down

0 comments on commit 8e5e450

Please sign in to comment.