Skip to content

Commit 9b1ab5d

Browse files
authored
Add Python 3.10 support (#359)
* Add Python 3.10 support * fixup! Add Python 3.10 support * update changelog
1 parent 36516a7 commit 9b1ab5d

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
os:
1212
- ubuntu-latest
13-
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
13+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Python ${{ matrix.python-version }}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this
66
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Added
11+
12+
- Add support for Python 3.10. (#359 by [@theskumar])
13+
14+
815
## [0.19.0] - 2021-07-24
916

1017
### Changed
@@ -259,6 +266,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
259266
[#172]: https://github.com/theskumar/python-dotenv/issues/172
260267
[#176]: https://github.com/theskumar/python-dotenv/issues/176
261268
[#183]: https://github.com/theskumar/python-dotenv/issues/183
269+
[#359]: https://github.com/theskumar/python-dotenv/issues/359
262270

263271
[@Flimm]: https://github.com/Flimm
264272
[@alanjds]: https://github.com/alanjds

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def read_files(files):
5050
'Programming Language :: Python :: 3.7',
5151
'Programming Language :: Python :: 3.8',
5252
'Programming Language :: Python :: 3.9',
53+
'Programming Language :: Python :: 3.10',
5354
'Programming Language :: Python :: Implementation :: PyPy',
5455
'Intended Audience :: Developers',
5556
'Intended Audience :: System Administrators',

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[tox]
2-
envlist = lint,py{35,36,37,38,39},pypy3,manifest,coverage-report
2+
envlist = lint,py{35,36,37,38,39,310},pypy3,manifest,coverage-report
33

44
[gh-actions]
55
python =
66
3.5: py35, coverage-report
77
3.6: py36, coverage-report
88
3.7: py37, coverage-report
99
3.8: py38, coverage-report
10-
3.9: py39, lint, manifest, coverage-report
10+
3.9: py39, coverage-report
11+
3.10: py310, lint, manifest, coverage-report
1112
pypy3: pypy3, coverage-report
1213

1314
[testenv]
@@ -17,7 +18,7 @@ deps =
1718
coverage
1819
sh
1920
click
20-
py{35,36,37,38,39,py3}: ipython
21+
py{35,36,37,38,39,310,py3}: ipython
2122
commands = coverage run --parallel -m pytest {posargs}
2223

2324
[testenv:lint]
@@ -28,6 +29,7 @@ deps =
2829
types-mock
2930
commands =
3031
flake8 src tests
32+
mypy --python-version=3.10 src tests
3133
mypy --python-version=3.9 src tests
3234
mypy --python-version=3.8 src tests
3335
mypy --python-version=3.7 src tests

0 commit comments

Comments
 (0)