Skip to content

Commit

Permalink
chore: fix a bunch of tests for python3.12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 24, 2024
1 parent 88fb8ee commit 689f7ad
Show file tree
Hide file tree
Showing 13 changed files with 534 additions and 567 deletions.
159 changes: 89 additions & 70 deletions tests/in-list/poetry.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion tests/in-list/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ description = "poetry2nix test"
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.6"
python = "^3.7"
SQLAlchemy = "*"
greenlet = "^3"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
19 changes: 10 additions & 9 deletions tests/plyvel/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/plyvel/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.9"
plyvel = "^1.5.0"
plyvel = "^1.5.1"

[build-system]
requires = ["poetry-core>=1"]
Expand Down
4 changes: 2 additions & 2 deletions tests/scientific/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, poetry2nix, python3 }:
{ lib, poetry2nix, python311 }:

poetry2nix.mkPoetryApplication {
python = python3;
python = python311;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
src = lib.cleanSource ./.;
Expand Down
4 changes: 2 additions & 2 deletions tests/scipy1_9/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, poetry2nix, python3 }:
{ lib, poetry2nix, python311 }:

poetry2nix.mkPoetryApplication {
python = python3;
python = python311;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
src = lib.cleanSource ./.;
Expand Down
50 changes: 24 additions & 26 deletions tests/scipy1_9/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 689f7ad

Please sign in to comment.