Skip to content

Commit

Permalink
Run tests on actual python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Nov 13, 2023
1 parent 2922d31 commit 881aeac
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 47 deletions.
18 changes: 8 additions & 10 deletions crates/puffin-cli/tests/pip_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,16 +666,14 @@ fn compile_numpy_py38() -> Result<()> {
.arg("--no-build")
.env("VIRTUAL_ENV", venv.as_os_str())
.current_dir(&temp_dir), @r###"
success: true
exit_code: 0
----- stdout -----
# This file was autogenerated by Puffin v0.0.1 via the following command:
# [BIN_PATH] pip-compile requirements.in --python-version py38 --cache-dir [CACHE_DIR]
numpy==1.24.4
----- stderr -----
Resolved 1 package in [TIME]
"###);
success: false
exit_code: 2
----- stdout -----
----- stderr -----
error: Failed to build distribution: numpy-1.24.4.tar.gz
Caused by: Building source distributions is disabled
"###);
});

Ok(())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,21 @@ info:
- "--constraint"
- constraints.txt
- "--cache-dir"
- /tmp/.tmpzpwtXx
- /tmp/.tmp81zzAa
env:
VIRTUAL_ENV: /tmp/.tmpwo1pOb/.venv
VIRTUAL_ENV: /tmp/.tmpFXMFLd/.venv
---
success: true
exit_code: 0
----- stdout -----
# This file was autogenerated by Puffin v0.0.1 via the following command:
# [BIN_PATH] pip-compile requirements.in --constraint constraints.txt --cache-dir [CACHE_DIR]
anyio==4.0.0
exceptiongroup==1.1.3
# via anyio
idna==3.4
# via anyio
sniffio==1.3.0
# via anyio

----- stderr -----
Resolved 4 packages in [TIME]
Resolved 3 packages in [TIME]

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ info:
- "--constraint"
- constraints.txt
- "--cache-dir"
- /tmp/.tmp9F1Ljq
- /tmp/.tmpuS4Jn4
env:
VIRTUAL_ENV: /tmp/.tmpNJjhiS/.venv
VIRTUAL_ENV: /tmp/.tmpnFovuD/.venv
---
success: true
exit_code: 0
Expand All @@ -22,9 +22,7 @@ asgiref==3.7.2
django==5.0b1
sqlparse==0.4.3
# via django
typing-extensions==4.8.0
# via asgiref

----- stderr -----
Resolved 4 packages in [TIME]
Resolved 3 packages in [TIME]

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ info:
- pip-compile
- pyproject.toml
- "--cache-dir"
- /tmp/.tmphqsdmA
- /tmp/.tmpWzFzu7
env:
VIRTUAL_ENV: /tmp/.tmpvlroQ4/.venv
VIRTUAL_ENV: /tmp/.tmpSiRk6d/.venv
---
success: true
exit_code: 0
Expand All @@ -20,9 +20,7 @@ asgiref==3.7.2
django==5.0b1
sqlparse==0.4.4
# via django
typing-extensions==4.8.0
# via asgiref

----- stderr -----
Resolved 4 packages in [TIME]
Resolved 3 packages in [TIME]

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ info:
- pyproject.toml
- "--all-extras"
- "--cache-dir"
- /tmp/.tmpLq97XV
- /tmp/.tmpQHVFqr
env:
VIRTUAL_ENV: /tmp/.tmpj8K855/.venv
VIRTUAL_ENV: /tmp/.tmpmKXqaF/.venv
---
success: true
exit_code: 0
Expand All @@ -23,8 +23,6 @@ asgiref==3.7.2
certifi==2023.7.22
# via httpcore
django==5.0b1
exceptiongroup==1.1.3
# via anyio
h11==0.14.0
# via httpcore
httpcore==0.18.0
Expand All @@ -36,9 +34,7 @@ sniffio==1.3.0
# httpcore
sqlparse==0.4.4
# via django
typing-extensions==4.8.0
# via asgiref

----- stderr -----
Resolved 11 packages in [TIME]
Resolved 9 packages in [TIME]

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ info:
- "--extra"
- foo
- "--cache-dir"
- /tmp/.tmpvkwe04
- /tmp/.tmpLjFVr0
env:
VIRTUAL_ENV: /tmp/.tmpMFDom0/.venv
VIRTUAL_ENV: /tmp/.tmpDT0oRC/.venv
---
success: true
exit_code: 0
Expand All @@ -22,9 +22,7 @@ asgiref==3.7.2
django==5.0b1
sqlparse==0.4.4
# via django
typing-extensions==4.8.0
# via asgiref

----- stderr -----
Resolved 4 packages in [TIME]
Resolved 3 packages in [TIME]

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ info:
- "--extra"
- FRiENDlY-...-_-BARd
- "--cache-dir"
- /tmp/.tmpVf4Xxi
- /tmp/.tmpga6JO1
env:
VIRTUAL_ENV: /tmp/.tmpM4Yfd8/.venv
VIRTUAL_ENV: /tmp/.tmpwmJIym/.venv
---
success: true
exit_code: 0
Expand All @@ -22,9 +22,7 @@ asgiref==3.7.2
django==5.0b1
sqlparse==0.4.4
# via django
typing-extensions==4.8.0
# via asgiref

----- stderr -----
Resolved 4 packages in [TIME]
Resolved 3 packages in [TIME]

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ info:
- pip-compile
- requirements.in
- "--cache-dir"
- /tmp/.tmpNz0KIo
- /tmp/.tmpQB4Ze4
env:
VIRTUAL_ENV: /tmp/.tmpyQ2rTA/.venv
VIRTUAL_ENV: /tmp/.tmpSYcMgG/.venv
---
success: true
exit_code: 0
Expand All @@ -20,9 +20,7 @@ asgiref==3.7.2
django==5.0b1
sqlparse==0.4.4
# via django
typing-extensions==4.8.0
# via asgiref

----- stderr -----
Resolved 4 packages in [TIME]
Resolved 3 packages in [TIME]

0 comments on commit 881aeac

Please sign in to comment.