Skip to content
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

Handle git+https pip urls #3764

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename to test-env-lock.yaml for consistency
  • Loading branch information
Hind-M committed Jan 22, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7b93703eea33189a5d931db660a26ed1638c0333
File renamed without changes.
4 changes: 2 additions & 2 deletions micromamba/tests/test_create.py
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
env_file_requires_pip_install_path_with_whitespaces,
]

lockfile_path: Path = __this_dir__ / "test_env-lock.yaml"
lockfile_path: Path = __this_dir__ / "test-env-lock.yaml"
pip_lockfile_path: Path = __this_dir__ / "test-env-pip-lock.yaml"
pip_git_https_lockfile_path: Path = __this_dir__ / "test-env-lock-pip-git-https.yaml"

@@ -197,7 +197,7 @@ def test_pip_git_https_lockfile(tmp_home, tmp_root_prefix, tmp_path):
def test_lockfile_online(tmp_home, tmp_root_prefix, tmp_path):
env_prefix = tmp_path / "myenv"
spec_file = (
"https://raw.githubusercontent.com/mamba-org/mamba/main/micromamba/tests/test_env-lock.yaml"
"https://raw.githubusercontent.com/mamba-org/mamba/main/micromamba/tests/test-env-lock.yaml"
)

res = helpers.create("-p", env_prefix, "-f", spec_file, "--json")
Loading
Oops, something went wrong.