diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt deleted file mode 100644 index 4f796a4..0000000 --- a/.github/workflows/constraints.txt +++ /dev/null @@ -1,5 +0,0 @@ -nox==2022.11.21 -nox-poetry==1.0.3 -pip==24.0 -poetry==1.8.2 -virtualenv==20.25.1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d902b16..026d627 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,7 +42,7 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install pip pip --version - name: Upgrade pip in virtual environments @@ -56,13 +56,13 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install nox + pipx inject nox nox-poetry nox --version - name: Compute pre-commit cache key @@ -121,18 +121,18 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install pip pip --version - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install nox + pipx inject nox nox-poetry nox --version - name: Download coverage data diff --git a/pyproject.toml b/pyproject.toml index ce08cee..7944106 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "py21cmEMU" -version = "1.1.1" +version = "1.1.2" description = "Emulator of 21cmFAST summaries." authors = ["Daniela Breitman "] license = "MIT" @@ -34,7 +34,7 @@ python = ">=3.8,<3.12" click = ">=8.0.1" numpy = "^1.22.0" scipy = "^1.10.1" -tensorflow = "^2.6.0" +tensorflow = ">=2.4.0, <= 2.14.0" appdirs = "^1.4.4" toml = "^0.10.2" GitPython = "^3.1.31"