uvenv 3.0.0__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.
- uvenv-3.0.0/.cargo/config.toml +2 -0
- uvenv-3.0.0/.gitignore +72 -0
- uvenv-3.0.0/CHANGELOG.md +150 -0
- uvenv-3.0.0/Cargo.lock +3822 -0
- uvenv-3.0.0/Cargo.toml +75 -0
- uvenv-3.0.0/PKG-INFO +106 -0
- uvenv-3.0.0/README.md +87 -0
- uvenv-3.0.0/build.sh +10 -0
- uvenv-3.0.0/pyproject.toml +41 -0
- uvenv-3.0.0/rustfmt.toml +4 -0
- uvenv-3.0.0/src/animate.rs +76 -0
- uvenv-3.0.0/src/cli.rs +412 -0
- uvenv-3.0.0/src/cmd.rs +112 -0
- uvenv-3.0.0/src/commands/activate.rs +35 -0
- uvenv-3.0.0/src/commands/check.rs +124 -0
- uvenv-3.0.0/src/commands/completions.rs +35 -0
- uvenv-3.0.0/src/commands/create.rs +50 -0
- uvenv-3.0.0/src/commands/ensurepath.rs +94 -0
- uvenv-3.0.0/src/commands/inject.rs +68 -0
- uvenv-3.0.0/src/commands/install.rs +200 -0
- uvenv-3.0.0/src/commands/list.rs +95 -0
- uvenv-3.0.0/src/commands/mod.rs +24 -0
- uvenv-3.0.0/src/commands/reinstall.rs +106 -0
- uvenv-3.0.0/src/commands/reinstall_all.rs +63 -0
- uvenv-3.0.0/src/commands/run.rs +145 -0
- uvenv-3.0.0/src/commands/runpip.rs +31 -0
- uvenv-3.0.0/src/commands/runpython.rs +47 -0
- uvenv-3.0.0/src/commands/runuv.rs +26 -0
- uvenv-3.0.0/src/commands/self_changelog.rs +130 -0
- uvenv-3.0.0/src/commands/self_migrate.rs +62 -0
- uvenv-3.0.0/src/commands/self_update.rs +134 -0
- uvenv-3.0.0/src/commands/setup.rs +134 -0
- uvenv-3.0.0/src/commands/uninject.rs +59 -0
- uvenv-3.0.0/src/commands/uninstall.rs +72 -0
- uvenv-3.0.0/src/commands/uninstall_all.rs +41 -0
- uvenv-3.0.0/src/commands/upgrade.rs +165 -0
- uvenv-3.0.0/src/commands/upgrade_all.rs +50 -0
- uvenv-3.0.0/src/helpers.rs +49 -0
- uvenv-3.0.0/src/main.rs +81 -0
- uvenv-3.0.0/src/metadata.rs +503 -0
- uvenv-3.0.0/src/pip.rs +149 -0
- uvenv-3.0.0/src/promises.rs +17 -0
- uvenv-3.0.0/src/pypi.rs +102 -0
- uvenv-3.0.0/src/shell/activate.sh +19 -0
- uvenv-3.0.0/src/symlinks.rs +134 -0
- uvenv-3.0.0/src/tests/mod.rs +3 -0
- uvenv-3.0.0/src/tests/shared.rs +20 -0
- uvenv-3.0.0/src/tests/special_home_dir.rs +50 -0
- uvenv-3.0.0/src/uv.rs +135 -0
- uvenv-3.0.0/src/venv.rs +94 -0
uvenv-3.0.0/.gitignore
ADDED
|
@@ -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
|
uvenv-3.0.0/CHANGELOG.md
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
<!--next-version-placeholder-->
|
|
4
|
+
|
|
5
|
+
## 3.0.0 (2024-07-08)
|
|
6
|
+
|
|
7
|
+
### BREAKING CHANGE
|
|
8
|
+
|
|
9
|
+
- **Renaming**: Renamed `uvx` to `uvenv` due to a naming collision with a new `uv` command. The
|
|
10
|
+
new name better reflects its purpose, combining `uv` with `venv`. You can run `uvenv self migrate` to move your
|
|
11
|
+
environments and installed commands from `uvx` to `uvenv`.
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- Added `uvenv self migrate` command to facilitate migration from `uvx` to `uvenv` easily.
|
|
16
|
+
- Improved error logging (with more context) using `anyhow`.
|
|
17
|
+
|
|
18
|
+
### Updates
|
|
19
|
+
|
|
20
|
+
- Updated `uv` from 0.2.4 to 0.2.13 and applied necessary patches to work with new/updated APIs.
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
- Updated documentation to reflect the changes and new features introduced in this version.
|
|
25
|
+
- Started groundwork on automated testing
|
|
26
|
+
|
|
27
|
+
## 2.4.1 (2024-05-31)
|
|
28
|
+
|
|
29
|
+
### Fix
|
|
30
|
+
|
|
31
|
+
* Rollback some of the speedup (it was a bit too async and stuff broke)
|
|
32
|
+
|
|
33
|
+
## v2.4.0 (2024-05-31)
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* speed up `uvx list` (+ `uvx check`) with Futures and filtering before running checks (instead of after)
|
|
38
|
+
* speed up `upgrade-all`, `reinstall-all`, `upgrade-all` and allow filtering venv names
|
|
39
|
+
|
|
40
|
+
## v2.3.0 (2024-05-28)
|
|
41
|
+
|
|
42
|
+
### Feature
|
|
43
|
+
|
|
44
|
+
* `uvx check` to perform checks (like uvx list does) and report any problems.
|
|
45
|
+
|
|
46
|
+
### Refactoring
|
|
47
|
+
|
|
48
|
+
* improved Rust-esque codestyle (according to Clippy)
|
|
49
|
+
|
|
50
|
+
## v2.2.2 (2024-05-28)
|
|
51
|
+
|
|
52
|
+
### Fix
|
|
53
|
+
|
|
54
|
+
* `uvx upgrade` stored version metadata wrong
|
|
55
|
+
|
|
56
|
+
## v2.2.1 (2024-05-28)
|
|
57
|
+
|
|
58
|
+
### Fix
|
|
59
|
+
|
|
60
|
+
* `uvx list` was slow due to incorrect SSL behavior.
|
|
61
|
+
|
|
62
|
+
## v2.2.0 (2024-05-28)
|
|
63
|
+
|
|
64
|
+
### Features
|
|
65
|
+
|
|
66
|
+
* Added the `self` subcommand namespace
|
|
67
|
+
* `uvx self update` to self-update
|
|
68
|
+
* `uvx self changelog` to see the changelog of uvx
|
|
69
|
+
* Look for available updates on `uvx list`
|
|
70
|
+
* Includes `--skip-updates`, `--show-prereleases`, `--ignore-constraints` as options
|
|
71
|
+
|
|
72
|
+
### BREAKING CHANGE
|
|
73
|
+
|
|
74
|
+
* `uvx self-update` is now `uvx self update`
|
|
75
|
+
|
|
76
|
+
## v2.1.0 (2024-05-15)
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* Introduced the `uvx activate` command, enabling venv activation via bash function.
|
|
81
|
+
* Added `uvx setup`, allowing which handles installation of bash integration features (like `uvx activate` and tab
|
|
82
|
+
completion).
|
|
83
|
+
* Added `uvx create` to create new (empty) virtualenvs without installing from a package.
|
|
84
|
+
|
|
85
|
+
### Fixes
|
|
86
|
+
|
|
87
|
+
* Enhanced shell compatibility by displaying a warning for unsupported shells during activation and hinting at the
|
|
88
|
+
necessity of running `uvx setup` (and others).
|
|
89
|
+
|
|
90
|
+
### Documentation
|
|
91
|
+
|
|
92
|
+
* Provided detailed documentation for `uvx setup` to assist users in understanding its usage and configurations.
|
|
93
|
+
|
|
94
|
+
## v2.0.8 (2024-05-01)
|
|
95
|
+
|
|
96
|
+
### Docs
|
|
97
|
+
|
|
98
|
+
* extended description
|
|
99
|
+
|
|
100
|
+
## v2.0.7 (2024-05-01)
|
|
101
|
+
|
|
102
|
+
### Fix
|
|
103
|
+
|
|
104
|
+
* strip binary on release
|
|
105
|
+
|
|
106
|
+
## v2.0.6 (2024-04-26)
|
|
107
|
+
|
|
108
|
+
### Fix
|
|
109
|
+
|
|
110
|
+
* ensure `~/.local/bin` exists before trying to write symlinks
|
|
111
|
+
|
|
112
|
+
## v2.0.5 (2024-04-26)
|
|
113
|
+
|
|
114
|
+
### Updates
|
|
115
|
+
|
|
116
|
+
* **cargo**: bump dependencies
|
|
117
|
+
|
|
118
|
+
## v2.0.4 (2024-04-26)
|
|
119
|
+
|
|
120
|
+
### Fix
|
|
121
|
+
|
|
122
|
+
* **install**: show warnings if creating symlinks fails
|
|
123
|
+
|
|
124
|
+
## v2.0.3 (2024-04-26)
|
|
125
|
+
|
|
126
|
+
### Fix
|
|
127
|
+
|
|
128
|
+
* **self-update**: fall back to global Python if local (e.g. venv) one can not be found
|
|
129
|
+
|
|
130
|
+
## v2.0.2 (2024-04-26)
|
|
131
|
+
|
|
132
|
+
### Fix
|
|
133
|
+
|
|
134
|
+
* **self-update**: swap `before` and `after` version
|
|
135
|
+
|
|
136
|
+
## v2.0.1 (2024-04-26)
|
|
137
|
+
|
|
138
|
+
### Fix
|
|
139
|
+
|
|
140
|
+
* **.metadata**: add magic header so `file` understands it's binary data
|
|
141
|
+
|
|
142
|
+
## v2.0.0 (2024-04-26)
|
|
143
|
+
|
|
144
|
+
### BREAKING CHANGE
|
|
145
|
+
|
|
146
|
+
* Rewrite from Python to Rust.
|
|
147
|
+
|
|
148
|
+
## v1.x.x
|
|
149
|
+
|
|
150
|
+
See [CHANGELOG.md @ robinvandernoord/uvx](https://github.com/robinvandernoord/uvx/blob/master/CHANGELOG.md)
|