Skip to content

Commit

Permalink
Drop support for Python 3.7 because it reached end-of-life
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Oct 19, 2023
1 parent 9e7a97b commit ac7acff
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10']
PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11']
INSTALL_TYPE: ['conda', 'pip']
QT_LIB: ['pyqt5', 'pyqt6']
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10']
PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11']
timeout-minutes: 15
steps:
- name: Checkout branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10']
PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11']
timeout-minutes: 15
steps:
- name: Checkout branch
Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
import sys

v = sys.version_info
if v[0] >= 3 and v[:2] < (3, 6):
error = "ERROR: %s requires Python version 3.7 or above." % name
if v[0] >= 3 and v[:2] < (3, 7):
error = "ERROR: %s requires Python version 3.8 or above." % name
print(error, file=sys.stderr)
sys.exit(1)

PY3 = (sys.version_info[0] >= 3)

#-----------------------------------------------------------------------------
# get on with it
Expand All @@ -35,7 +34,7 @@
packages = []
for d, _, _ in os.walk(pjoin(here, name)):
if os.path.exists(pjoin(d, '__init__.py')):
packages.append(d[len(here)+1:].replace(os.path.sep, '.'))
packages.append(d[len(here) + 1:].replace(os.path.sep, '.'))

package_data = {
'qtconsole' : ['resources/icon/*.svg'],
Expand Down Expand Up @@ -64,7 +63,7 @@
license = 'BSD',
platforms = "Linux, Mac OS X, Windows",
keywords = ['Interactive', 'Interpreter', 'Shell'],
python_requires = '>= 3.7',
python_requires = '>= 3.8',
install_requires = [
'traitlets!=5.2.1,!=5.2.2',
'jupyter_core',
Expand All @@ -91,10 +90,11 @@
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)

Expand Down

0 comments on commit ac7acff

Please sign in to comment.