-
-
Notifications
You must be signed in to change notification settings - Fork 145
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 Python 3.7 support and update tests #1316
base: master
Are you sure you want to change the base?
Changes from 1 commit
9ce9669
4ecc8ed
e0608f9
83588ef
b3b2772
772b6f4
50c986b
39173cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
install-ersilia: | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -32,7 +32,7 @@ jobs: | |
test-docker: | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above, we can include 3.12 as well. |
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Added by Ersilia | ||
|
||
# Environment variables | ||
.env | ||
*.pyc | ||
*.vscode | ||
*.code-workspace | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ repository = "https://github.com/ersilia-os/ersilia" | |
documentation = "https://ersilia.io/model-hub" | ||
keywords= ["drug-discovery", "machine-learning", "ersilia", "open-science", "global-health", "model-hub", "infectious-diseases"] | ||
classifiers=[ | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about added support for python 3.11 here since you've already added it in your code above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so you mean I should add python version 3.11 right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While you are at it, please mention 3.12 as well, thank you! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure please on it |
||
|
@@ -27,11 +26,10 @@ include = [ | |
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.7" | ||
python = ">=3.8" | ||
inputimeout = "^1.0.4" | ||
emoji = "^2.8.0" | ||
validators = [ | ||
{version="0.20.0", python="3.7.*"}, | ||
{version="~0.21.0", python=">=3.8"}, | ||
] | ||
|
||
|
@@ -49,7 +47,7 @@ numpy = "<=1.26.4" | |
isaura = {version="0.1", optional=true} | ||
pytest = {version = "^7.4.0", optional = true} | ||
fuzzywuzzy = {version = "^0.18.0", optional = true} | ||
sphinx = {version = ">=5.3.0", optional = true} # For compatibility with python 3.7.x | ||
sphinx = {version = ">=5.3.0", optional = true} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we actually check which is the minimum version we need for 3.8? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok sure |
||
jinja2 = {version = "^3.1.2", optional = true} | ||
scipy = {version = "<=1.10.0", optional = true} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can also add 3.12 to this list since we support 3.12 as well.