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

Updated the minimum and maximum python versions #751

Merged
merged 6 commits into from
Nov 30, 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
22 changes: 22 additions & 0 deletions .github/workflows/python-install-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Install across python versions

on: [push, pull_request]

jobs:
pyversion_install:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
# all good if installation finishes
python -m pip install -e .
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def run(self):
version=__version__,
author="MLCommons",
author_email="[email protected]",
python_requires=">=3.9, <3.11",
python_requires=">3.8, <3.12",
packages=find_packages(
where=os.path.dirname(os.path.abspath(__file__)),
exclude=toplevel_package_excludes,
Expand Down Expand Up @@ -157,6 +157,7 @@ def run(self):
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
],
description=(
Expand Down
Loading