Skip to content

Commit

Permalink
no more python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
samuela committed Jul 27, 2023
1 parent 71be3b8 commit 746d2a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/upkeep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ jobs:
echo '{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }' > ~/.config/nixpkgs/config.nix
- name: Check current package version
run: |
PRE_VERSION="$(nix eval --raw --file . python39Packages.flax.version)"
PRE_VERSION="$(nix eval --raw --file . python3Packages.flax.version)"
echo "Current version: $PRE_VERSION"
echo "PRE_VERSION=$PRE_VERSION" >> $GITHUB_ENV
working-directory: "./nixpkgs"
- env:
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
name: build canary
run: |
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python39Packages.flax
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python3Packages.flax
working-directory: "./nixpkgs-upkeep"
ipython:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -430,15 +430,15 @@ jobs:
echo '{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }' > ~/.config/nixpkgs/config.nix
- name: Check current package version
run: |
PRE_VERSION="$(nix eval --raw --file . python39Packages.optax.version)"
PRE_VERSION="$(nix eval --raw --file . python3Packages.optax.version)"
echo "Current version: $PRE_VERSION"
echo "PRE_VERSION=$PRE_VERSION" >> $GITHUB_ENV
working-directory: "./nixpkgs"
- env:
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
name: build canary
run: |
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python39Packages.optax
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python3Packages.optax
working-directory: "./nixpkgs-upkeep"
pandas:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -717,15 +717,15 @@ jobs:
echo '{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }' > ~/.config/nixpkgs/config.nix
- name: Check current package version
run: |
PRE_VERSION="$(nix eval --raw --file . python39Packages.tensorflow-bin.version)"
PRE_VERSION="$(nix eval --raw --file . python3Packages.tensorflow-bin.version)"
echo "Current version: $PRE_VERSION"
echo "PRE_VERSION=$PRE_VERSION" >> $GITHUB_ENV
working-directory: "./nixpkgs"
- env:
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
name: build canary
run: |
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python39Packages.tensorflow-bin
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python3Packages.tensorflow-bin
working-directory: "./nixpkgs-upkeep"
tensorflow-datasets:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -761,15 +761,15 @@ jobs:
echo '{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }' > ~/.config/nixpkgs/config.nix
- name: Check current package version
run: |
PRE_VERSION="$(nix eval --raw --file . python39Packages.tensorflow-datasets.version)"
PRE_VERSION="$(nix eval --raw --file . python3Packages.tensorflow-datasets.version)"
echo "Current version: $PRE_VERSION"
echo "PRE_VERSION=$PRE_VERSION" >> $GITHUB_ENV
working-directory: "./nixpkgs"
- env:
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
name: build canary
run: |
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python39Packages.tensorflow-datasets
GH_TOKEN=$GH_TOKEN ./canary.py --nixpkgs ../nixpkgs --attr python3Packages.tensorflow-datasets
working-directory: "./nixpkgs-upkeep"
torch:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions upkeep.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ let createPR =
in { jobs =
{ augmax = basicCanary "python3Packages.augmax"
, einops = basicCanary "python3Packages.einops"
, flax = basicCanary "python39Packages.flax"
, flax = basicCanary "python3Packages.flax"
, ipython = basicCanary "python3Packages.ipython"
, jax = basicCanary "python3Packages.jax"
, jaxlib = basicCanary "python3Packages.jaxlib"
, jaxlib-bin = basicCanary "python3Packages.jaxlib-bin"
, jaxlibWithCuda = basicCanary "python3Packages.jaxlibWithCuda"
, matplotlib = basicCanary "python3Packages.matplotlib"
, optax = basicCanary "python39Packages.optax"
, optax = basicCanary "python3Packages.optax"
, pandas = basicCanary "python3Packages.pandas"
, plexamp = Job::{
, steps =
Expand Down Expand Up @@ -238,8 +238,8 @@ in { jobs =
]
}
, tensorflow = basicCanary "python3Packages.tensorflow"
, tensorflow-bin = basicCanary "python39Packages.tensorflow-bin"
, tensorflow-datasets = basicCanary "python39Packages.tensorflow-datasets"
, tensorflow-bin = basicCanary "python3Packages.tensorflow-bin"
, tensorflow-datasets = basicCanary "python3Packages.tensorflow-datasets"
, tqdm = basicCanary "python3Packages.tqdm"
, torchvision = basicCanary "python3Packages.torchvision"
, vscode = Job::{
Expand Down

0 comments on commit 746d2a7

Please sign in to comment.