uvenv 3.0.0a1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. uvenv-3.0.0a1/.cargo/config.toml +2 -0
  2. uvenv-3.0.0a1/.gitignore +72 -0
  3. uvenv-3.0.0a1/CHANGELOG.md +128 -0
  4. uvenv-3.0.0a1/Cargo.lock +3807 -0
  5. uvenv-3.0.0a1/Cargo.toml +70 -0
  6. uvenv-3.0.0a1/PKG-INFO +98 -0
  7. uvenv-3.0.0a1/README.md +79 -0
  8. uvenv-3.0.0a1/build.sh +10 -0
  9. uvenv-3.0.0a1/pyproject.toml +41 -0
  10. uvenv-3.0.0a1/rustfmt.toml +4 -0
  11. uvenv-3.0.0a1/src/animate.rs +76 -0
  12. uvenv-3.0.0a1/src/cli.rs +405 -0
  13. uvenv-3.0.0a1/src/cmd.rs +115 -0
  14. uvenv-3.0.0a1/src/commands/activate.rs +35 -0
  15. uvenv-3.0.0a1/src/commands/changelog.rs +123 -0
  16. uvenv-3.0.0a1/src/commands/check.rs +125 -0
  17. uvenv-3.0.0a1/src/commands/completions.rs +32 -0
  18. uvenv-3.0.0a1/src/commands/create.rs +44 -0
  19. uvenv-3.0.0a1/src/commands/ensurepath.rs +94 -0
  20. uvenv-3.0.0a1/src/commands/inject.rs +62 -0
  21. uvenv-3.0.0a1/src/commands/install.rs +196 -0
  22. uvenv-3.0.0a1/src/commands/list.rs +96 -0
  23. uvenv-3.0.0a1/src/commands/mod.rs +23 -0
  24. uvenv-3.0.0a1/src/commands/reinstall.rs +102 -0
  25. uvenv-3.0.0a1/src/commands/reinstall_all.rs +62 -0
  26. uvenv-3.0.0a1/src/commands/run.rs +144 -0
  27. uvenv-3.0.0a1/src/commands/runpip.rs +25 -0
  28. uvenv-3.0.0a1/src/commands/runpython.rs +45 -0
  29. uvenv-3.0.0a1/src/commands/runuv.rs +23 -0
  30. uvenv-3.0.0a1/src/commands/self_update.rs +124 -0
  31. uvenv-3.0.0a1/src/commands/setup.rs +133 -0
  32. uvenv-3.0.0a1/src/commands/uninject.rs +58 -0
  33. uvenv-3.0.0a1/src/commands/uninstall.rs +65 -0
  34. uvenv-3.0.0a1/src/commands/uninstall_all.rs +41 -0
  35. uvenv-3.0.0a1/src/commands/upgrade.rs +159 -0
  36. uvenv-3.0.0a1/src/commands/upgrade_all.rs +47 -0
  37. uvenv-3.0.0a1/src/helpers.rs +44 -0
  38. uvenv-3.0.0a1/src/main.rs +80 -0
  39. uvenv-3.0.0a1/src/metadata.rs +502 -0
  40. uvenv-3.0.0a1/src/pip.rs +155 -0
  41. uvenv-3.0.0a1/src/promises.rs +16 -0
  42. uvenv-3.0.0a1/src/pypi.rs +102 -0
  43. uvenv-3.0.0a1/src/shell/activate.sh +19 -0
  44. uvenv-3.0.0a1/src/symlinks.rs +137 -0
  45. uvenv-3.0.0a1/src/tests/mod.rs +3 -0
  46. uvenv-3.0.0a1/src/tests/shared.rs +20 -0
  47. uvenv-3.0.0a1/src/tests/special_home_dir.rs +50 -0
  48. uvenv-3.0.0a1/src/uv.rs +135 -0
  49. uvenv-3.0.0a1/src/venv.rs +95 -0
@@ -0,0 +1,2 @@
1
+ [target.aarch64-unknown-linux-gnu]
2
+ linker = "/usr/bin/aarch64-linux-gnu-gcc"
@@ -0,0 +1,72 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version
@@ -0,0 +1,128 @@
1
+ # Changelog
2
+
3
+ <!--next-version-placeholder-->
4
+
5
+ ## 2.4.1 (2024-05-31)
6
+
7
+ ### Fix
8
+
9
+ * Rollback some of the speedup (it was a bit too async and stuff broke)
10
+
11
+ ## v2.4.0 (2024-05-31)
12
+
13
+ ### Features
14
+
15
+ * speed up `uvx list` (+ `uvx check`) with Futures and filtering before running checks (instead of after)
16
+ * speed up `upgrade-all`, `reinstall-all`, `upgrade-all` and allow filtering venv names
17
+
18
+ ## v2.3.0 (2024-05-28)
19
+
20
+ ### Feature
21
+
22
+ * `uvx check` to perform checks (like uvx list does) and report any problems.
23
+
24
+ ### Refactoring
25
+
26
+ * improved Rust-esque codestyle (according to Clippy)
27
+
28
+ ## v2.2.2 (2024-05-28)
29
+
30
+ ### Fix
31
+
32
+ * `uvx upgrade` stored version metadata wrong
33
+
34
+ ## v2.2.1 (2024-05-28)
35
+
36
+ ### Fix
37
+
38
+ * `uvx list` was slow due to incorrect SSL behavior.
39
+
40
+ ## v2.2.0 (2024-05-28)
41
+
42
+ ### Features
43
+
44
+ * Added the `self` subcommand namespace
45
+ * `uvx self update` to self-update
46
+ * `uvx self changelog` to see the changelog of uvx
47
+ * Look for available updates on `uvx list`
48
+ * Includes `--skip-updates`, `--show-prereleases`, `--ignore-constraints` as options
49
+
50
+ ### BREAKING CHANGE
51
+
52
+ * `uvx self-update` is now `uvx self update`
53
+
54
+ ## v2.1.0 (2024-05-15)
55
+
56
+ ### Features
57
+
58
+ * Introduced the `uvx activate` command, enabling venv activation via bash function.
59
+ * Added `uvx setup`, allowing which handles installation of bash integration features (like `uvx activate` and tab
60
+ completion).
61
+ * Added `uvx create` to create new (empty) virtualenvs without installing from a package.
62
+
63
+ ### Fixes
64
+
65
+ * Enhanced shell compatibility by displaying a warning for unsupported shells during activation and hinting at the
66
+ necessity of running `uvx setup` (and others).
67
+
68
+ ### Documentation
69
+
70
+ * Provided detailed documentation for `uvx setup` to assist users in understanding its usage and configurations.
71
+
72
+ ## v2.0.8 (2024-05-01)
73
+
74
+ ### Docs
75
+
76
+ * extended description
77
+
78
+ ## v2.0.7 (2024-05-01)
79
+
80
+ ### Fix
81
+
82
+ * strip binary on release
83
+
84
+ ## v2.0.6 (2024-04-26)
85
+
86
+ ### Fix
87
+
88
+ * ensure `~/.local/bin` exists before trying to write symlinks
89
+
90
+ ## v2.0.5 (2024-04-26)
91
+
92
+ ### Updates
93
+
94
+ * **cargo**: bump dependencies
95
+
96
+ ## v2.0.4 (2024-04-26)
97
+
98
+ ### Fix
99
+
100
+ * **install**: show warnings if creating symlinks fails
101
+
102
+ ## v2.0.3 (2024-04-26)
103
+
104
+ ### Fix
105
+
106
+ * **self-update**: fall back to global Python if local (e.g. venv) one can not be found
107
+
108
+ ## v2.0.2 (2024-04-26)
109
+
110
+ ### Fix
111
+
112
+ * **self-update**: swap `before` and `after` version
113
+
114
+ ## v2.0.1 (2024-04-26)
115
+
116
+ ### Fix
117
+
118
+ * **.metadata**: add magic header so `file` understands it's binary data
119
+
120
+ ## v2.0.0 (2024-04-26)
121
+
122
+ ### BREAKING CHANGE
123
+
124
+ * Rewrite from Python to Rust.
125
+
126
+ ## v1.x.x
127
+
128
+ See [CHANGELOG.md @ robinvandernoord/uvx](https://github.com/robinvandernoord/uvx/blob/master/CHANGELOG.md)