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

Add Python 3.10 support #359

Merged
merged 3 commits into from
Oct 9, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os:
- ubuntu-latest
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
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]

### Added

- Add support for Python 3.10. (#359 by [@theskumar])


## [0.19.0] - 2021-07-24

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

[@Flimm]: https://github.com/Flimm
[@alanjds]: https://github.com/alanjds
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def read_files(files):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist = lint,py{35,36,37,38,39},pypy3,manifest,coverage-report
envlist = lint,py{35,36,37,38,39,310},pypy3,manifest,coverage-report

[gh-actions]
python =
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
3.9: py39, coverage-report
3.10: py310, lint, manifest, coverage-report
pypy3: pypy3, coverage-report

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

[testenv:lint]
Expand All @@ -28,6 +29,7 @@ deps =
types-mock
commands =
flake8 src tests
mypy --python-version=3.10 src tests
mypy --python-version=3.9 src tests
mypy --python-version=3.8 src tests
mypy --python-version=3.7 src tests
Expand Down