From 7dd3d6ef8c4fbd90918db8215921f04f34f592ac Mon Sep 17 00:00:00 2001 From: BirkhoffG <26811230+BirkhoffG@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:58:35 -0400 Subject: [PATCH 1/3] Support python=3.12 --- .github/workflows/nbdev.yaml | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nbdev.yaml b/.github/workflows/nbdev.yaml index 68ff202..499e193 100644 --- a/.github/workflows/nbdev.yaml +++ b/.github/workflows/nbdev.yaml @@ -63,7 +63,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.10 cache: "pip" cache-dependency-path: settings.ini @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - py: ['3.9', '3.10', '3.11'] + py: ['3.9', '3.10', '3.11', '3.12'] steps: - name: Checkout Code uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index f446ad4..26551ff 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ } statuses = [ '1 - Planning', '2 - Pre-Alpha', '3 - Alpha', '4 - Beta', '5 - Production/Stable', '6 - Mature', '7 - Inactive' ] -py_versions = '3.7 3.8 3.9 3.10 3.11'.split() +py_versions = '3.7 3.8 3.9 3.10 3.11 3.12'.split() requirements = cfg.get('requirements','').split() if cfg.get('pip_requirements'): requirements += cfg.get('pip_requirements','').split() From 51b13ce277656ab423168a54b85b21c908b52008 Mon Sep 17 00:00:00 2001 From: BirkhoffG <26811230+BirkhoffG@users.noreply.github.com> Date: Sun, 23 Jun 2024 15:03:51 -0400 Subject: [PATCH 2/3] Update Python version to 3.10 in GitHub workflow --- .github/workflows/nbdev.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nbdev.yaml b/.github/workflows/nbdev.yaml index 499e193..b3aed46 100644 --- a/.github/workflows/nbdev.yaml +++ b/.github/workflows/nbdev.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.9" + python-version: "3.10" cache: "pip" cache-dependency-path: settings.ini @@ -63,7 +63,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: "3.10" cache: "pip" cache-dependency-path: settings.ini From 2b307e8414bec2c60eb3ba2fe7d48b05649a3c2b Mon Sep 17 00:00:00 2001 From: BirkhoffG <26811230+BirkhoffG@users.noreply.github.com> Date: Mon, 24 Jun 2024 22:24:08 -0400 Subject: [PATCH 3/3] Update huggingface_requirements to include numpy<2.0.0 --- settings.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.ini b/settings.ini index bad1648..16109c7 100644 --- a/settings.ini +++ b/settings.ini @@ -29,7 +29,7 @@ requirements = jax[cpu] plum-dispatch dev_requirements = scikit-learn pandas nbdev jupyter dm-haiku optax nbdev-mkdocs torch_requirements = torch torchvision tensorflow_requirements = tensorflow tensorflow-datasets -huggingface_requirements = datasets +huggingface_requirements = datasets numpy<2.0.0 black_formatting = False readme_nb = index.ipynb allowed_metadata_keys =