Skip to content

Commit

Permalink
Remove python 3.7 and 3.8 support
Browse files Browse the repository at this point in the history
Conda install of cvxpy automatically installs python 3.9, so there's no point in trying to support earlier python versions.
  • Loading branch information
gecrooks authored Feb 3, 2021
2 parents 2e99eef + 852f913 commit d21afe9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
python-version: ['3.9']

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 1 addition & 8 deletions qf_diamond_norm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
import re
import sys
import typing

try:
# python >= 3.8
from importlib import metadata as importlib_metadata # type: ignore
except ImportError: # pragma: no cover
# python == 3.7
import importlib_metadata # type: ignore # noqa: F401

from importlib import metadata as importlib_metadata # type: ignore

__all__ = ["__version__", "about"]

Expand Down
6 changes: 1 addition & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ Classifiers=
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries
Expand All @@ -33,11 +31,9 @@ Classifiers=

[options]
zip_safe = True
python_requires = >= 3.7
python_requires = >= 3.9

# importlib_metadata required for python 3.7
install_requires =
importlib_metadata
quantumflow
cvxpy

Expand Down

0 comments on commit d21afe9

Please sign in to comment.