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

Drop support for Python 3.7 #182

Merged
merged 2 commits into from
Mar 20, 2023
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
9 changes: 2 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
python-version: ['3.8', '3.9']
os:
- linux
- win64
Expand Down Expand Up @@ -91,9 +88,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.9'
python-version: ['3.8', '3.9']
os:
- linux
- win64
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/notebooks-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
# - '3.8'
- '3.9'
python-version: ['3.8', '3.9']
os:
- linux
- win64
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/raven-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
python-version: ['3.8']
os:
- linux
- win64
Expand Down Expand Up @@ -79,9 +77,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
python-version: ['3.8']
os:
- win64
include:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@

__author__ = "Naresh Susarla and Soraya Rawlings"

try:
from importlib import resources # Python 3.8+
except ImportError:
import importlib_resources as resources # Python 3.7
from importlib import resources # Python 3.8+
from idaes.core.util import from_json, to_json
import idaes.logger as idaeslog

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class SpecialDependencies:
"Operating System :: Unix",
"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 :: Implementation :: CPython",
Expand All @@ -112,7 +111,7 @@ class SpecialDependencies:
],
keywords="market simulation, chemical engineering, process modeling, hybrid power systems",
packages=find_packages(),
python_requires=">=3.7, <4",
python_requires=">=3.8, <4",
install_requires=[
"pytest",
# we use jupyter notebooks
Expand Down