Skip to content

Commit

Permalink
Drop Python 3.6 support (#785)
Browse files Browse the repository at this point in the history
* Remove unused requirements
* Test 3.7 and 3.9
* Update changelog
* setup
* tags

Co-authored-by: Jirka <[email protected]>
  • Loading branch information
akihironitta and Borda authored Dec 19, 2021
1 parent 8d3fbf7 commit f8972df
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
# PyTorch 1.5 is failing on Win and bolts requires torchvision>=0.5
os: [ubuntu-20.04, macOS-10.15] #, windows-2019
python-version: [3.6, 3.8]
python-version: [3.7, 3.8]
requires: ['minimal', 'latest']

# Timeout: https://stackoverflow.com/a/59076067/4521646
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

- Removed Python 3.6 support ([#785](https://github.com/PyTorchLightning/lightning-bolts/pull/785))

### Fixed

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
torch>=1.6
torchmetrics>=0.4.1
pytorch-lightning>=1.3.0
dataclasses ; python_version <= "3.6"
packaging
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _prepare_extras():
include_package_data=True,
zip_safe=False,
keywords=["deep learning", "pytorch", "AI"],
python_requires=">=3.6",
python_requires=">=3.7",
setup_requires=["wheel"],
install_requires=setup_tools._load_requirements(_PATH_ROOT),
extras_require=_prepare_extras(),
Expand All @@ -82,7 +82,6 @@ def _prepare_extras():
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
Expand Down

0 comments on commit f8972df

Please sign in to comment.