Skip to content

Commit

Permalink
Merge pull request mlcommons#751 from mlcommons/min-max_python-versio…
Browse files Browse the repository at this point in the history
…n-updated

Updated the minimum and maximum python versions
  • Loading branch information
sarthakpati authored Nov 30, 2023
2 parents c25f733 + 8f7d7a5 commit af5af57
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
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

0 comments on commit af5af57

Please sign in to comment.