Skip to content

Commit

Permalink
Merge pull request #192 from 21cmfast/tf_version
Browse files Browse the repository at this point in the history
maint: update tensorflow version requirements
  • Loading branch information
steven-murray authored Apr 10, 2024
2 parents eb4cbab + d44d3f2 commit 6010948
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/constraints.txt

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "py21cmEMU"
version = "1.1.1"
version = "1.1.2"
description = "Emulator of 21cmFAST summaries."
authors = ["Daniela Breitman <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 6010948

Please sign in to comment.