Skip to content

Commit

Permalink
Revert "Downgrade to Python to 3.9 on macOS Nix"
Browse files Browse the repository at this point in the history
This reverts commit c965f04.
  • Loading branch information
akaihola committed Jul 9, 2023
1 parent 7f7db64 commit e97b48f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,9 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: python310
- os: macos-latest
python-version: python39
# see https://github.com/cachix/install-nix-action/issues/135
os:
- ubuntu-latest
- macos-latest
needs:
- build-wheel
steps:
Expand All @@ -65,7 +62,6 @@ jobs:
run: |
nix-shell \
--pure \
--argstr pythonVersion ${{ matrix.python-version }} \
--run '
python -m venv venv
source venv/bin/activate
Expand Down
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs ? import <nixpkgs> { }, pythonVersion ? "python311" }:
{ pkgs ? import <nixpkgs> { } }:
(
pkgs.stdenv.mkDerivation {
name = "darker-test";
buildInputs = [ pkgs.${pythonVersion} pkgs.git ];
buildInputs = [ pkgs.python310 pkgs.git ];
}
)

0 comments on commit e97b48f

Please sign in to comment.