Avatar for the conda user
conda
conda
BlogDocsChangelog

Decouple `pkgs_dirs` and `envs_dirs` from base environment

#14683Closed
Comparing
peytondmurray:decouple-base-pkgs-envs
(
1180582
) with
main
(
782b47c
)
CodSpeed Performance Gauge
0%
Untouched
21

Benchmarks

21 total
test_run[libmamba]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
+1%
1.2 s1.2 s
test_install[libmamba]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
2.4 s2.4 s
test_jlap_fetch
tests/gateways/test_jlap.py
CodSpeed Performance Gauge
0%
8.8 ms8.8 ms
test_solve_1[libmamba]
tests/core/test_solve.py
CodSpeed Performance Gauge
0%
1.3 s1.3 s
test_jlap_fetch_ssl[False]
tests/gateways/test_jlap.py
CodSpeed Performance Gauge
0%
179.5 ms179.5 ms
test_env_create[libmamba]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
849.5 ms849.3 ms
test_jlap_fetch_file
tests/gateways/test_jlap.py
CodSpeed Performance Gauge
0%
9.6 ms9.6 ms
test_solve_1[classic]
tests/core/test_solve.py
CodSpeed Performance Gauge
0%
3.3 s3.3 s
test_run[classic]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
235.6 ms235.6 ms
test_update[libmamba-update]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
2.1 s2.1 s
test_list[classic]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
194.5 ms194.6 ms
test_update[classic-upgrade]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
264.4 ms264.5 ms
test_env_create[classic]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
123 ms123.1 ms
test_install[classic]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
208.9 ms209 ms
test_update[classic-update]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
265 ms265.1 ms
test_env_update[classic]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
295.7 ms295.9 ms
test_match_1
tests/models/test_match_spec.py
CodSpeed Performance Gauge
0%
7.4 ms7.4 ms
test_update[libmamba-upgrade]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
2.2 s2.2 s
test_jlap_fetch_ssl[True]
tests/gateways/test_jlap.py
CodSpeed Performance Gauge
0%
30.8 ms30.8 ms
test_env_update[libmamba]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
0%
1.7 s1.7 s
test_list[libmamba]
tests/cli/test_subcommands.py
CodSpeed Performance Gauge
-1%
1.1 s1.1 s

Commits

Click on a commit to change the comparison range
Base
main
782b47c
+0.18%
Use recursive hardlinking for pkgs migration
2e86688
1 year ago
by peytondmurray
+0.07%
Add back in copying if hardlinking isn't possible on the filesystem
2da9e4d
1 year ago
by peytondmurray
-0.17%
Improve error messaging; respect `always_copy` when migrating pkgs
d077295
1 year ago
by peytondmurray
-0.29%
Convert docstring format; switch from 'legacy' to 'prefix'
2eaebe5
1 year ago
by peytondmurray
+0.33%
Cat the default condarc
163c6c9
1 year ago
by peytondmurray
-0.42%
Create test fixture to remove `pkgs_dirs` from .condarc
d450554
1 year ago
by peytondmurray
+0.21%
Put in tmate to figure out why I have no control over pkgs
d9c5564
1 year ago
by peytondmurray
+0.01%
Reset the context when updating condarc in fixture
664b299
1 year ago
by peytondmurray
-0.06%
Add some cleanup to `test_protected_dirs_error_for_rename`
08c56c8
1 year ago
by peytondmurray
-0.08%
Use shutil.rmtree rather than pathlib.Path.unlink
62f2617
1 year ago
by peytondmurray
+0.4%
Tests/fixtures rearrangement; adding migration tests
6f7834b
1 year ago
by peytondmurray
-0.32%
Add tests for env and pkgs migrations
cfb25ad
1 year ago
by peytondmurray
-0.05%
Rework the `unset_condarc_pkgs` fixture to work with multiple files
3646062
1 year ago
by peytondmurray
-0.12%
Add diagnostic output to unset_condarc_pkgs; add tmate
0d77e2b
1 year ago
by peytondmurray
-0.05%
Reset the context before rewriting all condarcs
4777cf1
1 year ago
by peytondmurray
+0.29%
Remove tmate
bc79a5c
1 year ago
by peytondmurray
-0.17%
Use os.link rather than pathlib.Path.hardlink_to for 3.9 compat
d1f71b3
1 year ago
by peytondmurray
-0.07%
Add tmate to windows tests
f2b8569
1 year ago
by peytondmurray
+0.12%
Windows doesn't like removing env by name; try by prefix?
cc84f17
1 year ago
by peytondmurray
+0.08%
Ensure that the migration warning can be suppressed
fb28630
1 year ago
by peytondmurray
+0.14%
Make sure to remove the key that was added
d0140ca
1 year ago
by peytondmurray
-0.18%
Add tmate
5c6adfc
1 year ago
by peytondmurray
-0.03%
Fixed root_prefix_env_factory cleanup; remove tmate
0212264
1 year ago
by peytondmurray
+0.17%
Add more tests of other migrate_pkgs code paths
c67fc7a
1 year ago
by peytondmurray
+0.15%
Finalize the migration tests
8c879c4
1 year ago
by peytondmurray
+0.01%
Unset condarc envs on test_pkgs_envs_old_default_dirs
be33263
1 year ago
by peytondmurray
-0.14%
Add news item
cd1d22e
1 year ago
by peytondmurray
+0.13%
Modify log warning message for clarity
8e52964
1 year ago
by peytondmurray
-0.07%
Move user_data_envs, etc to be properties of Context
26006b7
1 year ago
by peytondmurray
-0.05%
Also except OSError when hardlinking pkgs/
c6e7ded
1 year ago
by peytondmurray
-0.16%
Modify Context to allow new pkgs/envs layout config variable
373a78d
1 year ago
by peytondmurray
+0.23%
Automatically use pkg_env_layout = conda_root for tests; fix tests
b75f954
1 year ago
by peytondmurray
+0.21%
Fixing migration tests
9ca1ff4
1 year ago
by peytondmurray
-0.35%
Finish migration tests
5026d34
1 year ago
by peytondmurray
+0.13%
Fix bad mock
1d5d1af
1 year ago
by peytondmurray
-0.05%
Fix test which needs pkg_env_layout = "conda_root"
33fd120
1 year ago
by peytondmurray
+0.07%
Modify mock pkgs/envs to produce valid paths on windows
82841d3
1 year ago
by peytondmurray
-0.54%
Move env var intialization back to where it was
3e94277
1 year ago
by peytondmurray
+0.25%
Add fixture to mock out `context.pkg_env_layout` -> 'conda_root'
183a72b
1 year ago
by peytondmurray
+0.02%
Can't use mock on pkg_env_root; expects a parameter, not str
422254e
1 year ago
by peytondmurray
-0.1%
Maybe I need to reset context first?
755a96b
1 year ago
by peytondmurray
+0.15%
Try mocking with a PrimitiveParameter
101df0e
1 year ago
by peytondmurray
-0.27%
Mock parameter needs a call to _set_name
7ea5896
1 year ago
by peytondmurray
-0.01%
Try unsetting condarc pkgs_dirs/envs_dirs for test_clean_and_packages
aa536ea
1 year ago
by peytondmurray
-0.02%
Something is up with the CI test env; tmate to debug
2b79f74
1 year ago
by peytondmurray
+0.25%
Remove tmate - tests pass when I just run them manually....
9933931
1 year ago
by peytondmurray
-0.06%
Try resetting context and printing --show-sources inside test
60699cf
1 year ago
by peytondmurray
-0.13%
Reenable tests; add patch decorator on offending test
fe10331
1 year ago
by peytondmurray
+0.41%
Add unit tests for hardlink_dir_contents, copy_dir_contents
29379ed
1 year ago
by peytondmurray
-0.18%
General cleanup; make test_migrate_envs has envs to migrate :)
9f5426f
1 year ago
by peytondmurray
-0.29%
Add deprecation; make pkg_env_layout an enum
f340dae
1 year ago
by peytondmurray
+0.22%
Merge branch 'main' into decouple-base-pkgs-envs
dda81d9
1 year ago
by peytondmurray
-0.05%
Need to reset context on a few migration tests
4df930b
1 year ago
by peytondmurray
-46.57%
Use `None` instead of "unset" for pkg_env_layout
7bff641
1 year ago
by peytondmurray
+46.87%
Make attribute mocking fixture handle NoneType parameters
0e2689b
1 year ago
by peytondmurray
-0.36%
Merge branch 'main' into decouple-base-pkgs-envs
2a3fa48
1 year ago
by peytondmurray
+0.14%
Add PrefixData import; add more tests
8cc5415
1 year ago
by peytondmurray
-0.03%
Fix test paths for windows compat; fix test of warning message
1b4b2b5
1 year ago
by peytondmurray
0%
Resolve paths in test
efcc08b
1 year ago
by peytondmurray
+0.32%
Improve coverage over warning emission
35870c1
1 year ago
by peytondmurray
-0.04%
Cleanup
caf1381
1 year ago
by peytondmurray
-0.07%
Address review comments
688a4e6
1 year ago
by peytondmurray
-0.18%
Revise pkgs_dirs/envs_dirs behavior to match latest request; update tests
aea223d
1 year ago
by peytondmurray
-0.29%
Merge branch 'main' into decouple-base-pkgs-envs
4aabb64
1 year ago
by peytondmurray
+0.26%
Consolidate multiple appends to an extend
3b6588b
1 year ago
by peytondmurray
+0.03%
Merge branch 'main' into decouple-base-pkgs-envs
1bff9bb
1 year ago
by peytondmurray
+0.16%
Add envs_dirs test
8834537
1 year ago
by peytondmurray
-0.03%
Apply suggestions from code review
3337a78
1 year ago
by peytondmurray
0%
Modify test regexes to match expected error message text
1180582
1 year ago
by peytondmurray
© 2026 CodSpeed Technology
Home Terms Privacy Docs