Skip to content

test: Checking whatever we validate the hashes or not #3707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zelosleone
Copy link
Contributor

@zelosleone zelosleone commented Apr 29, 2025

This test is supposed to fail for now @ruben-arts

Output from test for now:

E       AssertionError: Return code was 0, expected 1, stderr:  INFO pixi_manifest::discovery: Found manifest in directory: "C:\\Users\\deniz\\Documents\\Projects\\prefix\\pixi\\pytest-temp\\popen-gw5\\test_pypi_external_source_inco0", continuing further.
E        INFO pixi_manifest::target: Adding pypi dependency: requests { url = "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl#sha256=incorrect_hash_value_that_will_cause_installation_to_fail" }
E        WARN pixi::workspace::discovery: Using local manifest C:\Users\deniz\Documents\Projects\prefix\pixi\pytest-temp\popen-gw5\test_pypi_external_source_inco0\pyproject.toml rather than C:\Users\deniz\Documents\Projects\prefix\pixi\pixi.toml from environment variable `PIXI_PROJECT_MANIFEST`
E        INFO pixi_config: Loaded config from: C:\Users\deniz\Documents\Projects\prefix\pixi\pytest-temp\popen-gw5\test_pypi_external_source_inco0\.pixi\config.toml
E        INFO pixi::environment: verifying prefix location is unchanged, with prefix file: C:\Users\deniz\Documents\Projects\prefix\pixi\pytest-temp\popen-gw5\test_pypi_external_source_inco0\.pixi\envs\conda-meta\pixi_env_prefix
E        INFO pixi::lock_file::outdated: environment 'default' is out of date because it does not exist in the lock-file.
E        INFO pixi::lock_file::resolve::uv_resolution_context: uv keyring provider is disabled
E        INFO resolve_conda{group=default platform=linux-64}: pixi::lock_file::update: fetched 1713 records in 533.5868ms
E        INFO resolve_conda{group=default platform=osx-arm64}: pixi::lock_file::update: fetched 320 records in 533.6343ms
E        INFO resolve_conda{group=default platform=win-64}: pixi::lock_file::update: fetched 618 records in 533.6845ms
E        INFO pixi::lock_file::update: resolved conda environment for environment 'default' 'osx-arm64' in 859ms 960us 700ns
E        INFO pixi::lock_file::update: resolved conda environment for environment 'default' 'linux-64' in 974ms 1us
E        INFO pixi::lock_file::update: resolved conda environment for environment 'default' 'win-64' in 974ms 706us 200ns
E        INFO resolve_pypi{group=default platform=osx-arm64}: pixi::lock_file::resolve::pypi: there are no python packages installed by conda
E        INFO resolve_pypi{group=default platform=osx-arm64}: pixi::lock_file::resolve::pypi: using requires python specifier (this may differ from the above): ==3.12.*
E        INFO pixi::lock_file::update: resolved pypi packages for environment 'default' 'osx-arm64' in 53ms 703us 600ns
E        INFO resolve_pypi{group=default platform=linux-64}: pixi::lock_file::resolve::pypi: there are no python packages installed by conda
E        INFO resolve_pypi{group=default platform=linux-64}: pixi::lock_file::resolve::pypi: using requires python specifier (this may differ from the above): ==3.12.*
E        INFO pixi::lock_file::update: resolved pypi packages for environment 'default' 'linux-64' in 63ms 389us 500ns
E        INFO resolve_pypi{group=default platform=win-64}: pixi::lock_file::resolve::pypi: there are no python packages installed by conda
E        INFO resolve_pypi{group=default platform=win-64}: pixi::lock_file::resolve::pypi: using requires python specifier (this may differ from the above): ==3.12.*
E        INFO pixi::lock_file::update: resolved pypi packages for environment 'default' 'win-64' in 36ms 418us 500ns
E        INFO pixi::lock_file::virtual_packages: Required virtual packages of environment 'default': __win
E        INFO pixi::lock_file::update: Updating prefix: 'C:\Users\deniz\Documents\Projects\prefix\pixi\pytest-temp\popen-gw5\test_pypi_external_source_inco0\.pixi\envs\default'
E        INFO pixi::environment::conda_metadata: Prefix file updated with: 'C:\Users\deniz\Documents\Projects\prefix\pixi\pytest-temp\popen-gw5\test_pypi_external_source_inco0\.pixi\envs\default\conda-meta'.
E        INFO pixi::environment::conda_metadata: Verify history file exists: C:\Users\deniz\Documents\Projects\prefix\pixi\pytest-temp\popen-gw5\test_pypi_external_source_inco0\.pixi\envs\default\conda-meta\history
E        INFO pixi::install_pypi: 0 of 5 required packages are considered are installed and up-to-date
E        INFO pixi::install_pypi: *installing* from remote because no version is cached: requests 2.32.3
E        INFO pixi::install_pypi: *installing* cached version because cache is up-to-date: urllib3, certifi, idna, charset-normalizer
E        INFO pixi::install_pypi: Prepared 1 package in 15ms
E        INFO pixi::install_pypi: Installed 5 packages in 147ms
E        INFO pixi::install_pypi: finished in 296ms
E       ✔ The default environment has been installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants