From bd03630ebb7d251ff9c5bff2c2f76161e73dd6ee Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:38:21 -0500 Subject: [PATCH 1/6] Update setup.py --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cc49ede40..2de00e417 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.9, <=3.11", 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=( From 2575870efcc965141eb6b8e024c52138420a4333 Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:41:14 -0500 Subject: [PATCH 2/6] Create python-install-check.yml --- .github/workflows/python-install-check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/python-install-check.yml diff --git a/.github/workflows/python-install-check.yml b/.github/workflows/python-install-check.yml new file mode 100644 index 000000000..39fa13871 --- /dev/null +++ b/.github/workflows/python-install-check.yml @@ -0,0 +1,22 @@ +name: Installations across python versions + +on: [push, pull_request] + +jobs: + black: + 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 . From 756d822d3bbaefbe00210f9c667a766c0717aca9 Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:42:55 -0500 Subject: [PATCH 3/6] Update python-install-check.yml --- .github/workflows/python-install-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-install-check.yml b/.github/workflows/python-install-check.yml index 39fa13871..bc0e44657 100644 --- a/.github/workflows/python-install-check.yml +++ b/.github/workflows/python-install-check.yml @@ -3,7 +3,7 @@ name: Installations across python versions on: [push, pull_request] jobs: - black: + pyversion_installation: runs-on: ubuntu-latest strategy: matrix: From 71746a2d2df4a9d85cee8d49c18842750f409ab0 Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:45:15 -0500 Subject: [PATCH 4/6] testing string --- .github/workflows/python-install-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-install-check.yml b/.github/workflows/python-install-check.yml index bc0e44657..1f61ab36e 100644 --- a/.github/workflows/python-install-check.yml +++ b/.github/workflows/python-install-check.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9, 3.10, 3.11] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 From 680e0986eb2f52d718440ae7aafca9db78b2e109 Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:46:43 -0500 Subject: [PATCH 5/6] excluded bound for python range to be explicit --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2de00e417..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, From 8f7d7a5b6b1d7c35c3e35c3fec008eb66d03f5db Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:47:10 -0500 Subject: [PATCH 6/6] Update python-install-check.yml --- .github/workflows/python-install-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-install-check.yml b/.github/workflows/python-install-check.yml index 1f61ab36e..7ec37528a 100644 --- a/.github/workflows/python-install-check.yml +++ b/.github/workflows/python-install-check.yml @@ -1,9 +1,9 @@ -name: Installations across python versions +name: Install across python versions on: [push, pull_request] jobs: - pyversion_installation: + pyversion_install: runs-on: ubuntu-latest strategy: matrix: