diff --git a/.github/workflows/python-install-check.yml b/.github/workflows/python-install-check.yml new file mode 100644 index 000000000..7ec37528a --- /dev/null +++ b/.github/workflows/python-install-check.yml @@ -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 . diff --git a/setup.py b/setup.py index cc49ede40..46323e207 100644 --- a/setup.py +++ b/setup.py @@ -125,7 +125,7 @@ def run(self): version=__version__, author="MLCommons", author_email="gandlf@mlcommons.org", - 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, @@ -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=(