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

Require Python >= 3.5 #341

Merged
merged 1 commit into from Jul 10, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os:
- ubuntu-latest
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. (#341
by [@bbc2]).

## [0.18.0] - 2021-06-20

### Changed
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Expand Up @@ -33,9 +33,7 @@ def read_files(files):
package_data={
'dotenv': ['py.typed'],
},
install_requires=[
"typing; python_version<'3.5'",
],
python_requires=">=3.5",
extras_require={
'cli': ['click>=5.0', ],
},
Expand All @@ -47,8 +45,6 @@ def read_files(files):
classifiers=[
'Development Status :: 5 - Production/Stable',
'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',
Expand Down
7 changes: 1 addition & 6 deletions tox.ini
@@ -1,15 +1,13 @@
[tox]
envlist = lint,py{27,35,36,37,38,39},pypy,pypy3,manifest,coverage-report
envlist = lint,py{35,36,37,38,39},pypy3,manifest,coverage-report

[gh-actions]
python =
2.7: py27, coverage-report
3.5: py35, coverage-report
3.6: py36, coverage-report
3.7: py37, coverage-report
3.8: py38, coverage-report
3.9: py39, lint, manifest, coverage-report
pypy2: pypy, coverage-report
pypy3: pypy3, coverage-report

[testenv]
Expand All @@ -19,7 +17,6 @@ deps =
coverage
sh
click
py{27,py}: ipython<6.0.0
py{35,36,37,38,39,py3}: ipython
commands = coverage run --parallel -m pytest {posargs}

Expand All @@ -35,8 +32,6 @@ commands =
mypy --python-version=3.7 src tests
mypy --python-version=3.6 src tests
mypy --python-version=3.5 src tests
mypy --python-version=3.4 src tests
mypy --python-version=2.7 src tests

[testenv:manifest]
deps = check-manifest
Expand Down