nox-uv 0.2.2__py3-none-any.whl → 0.3.0__py3-none-any.whl
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.
- nox_uv/__init__.py +2 -2
- nox_uv-0.3.0.dist-info/METADATA +50 -0
- nox_uv-0.3.0.dist-info/RECORD +6 -0
- nox_uv-0.2.2.dist-info/METADATA +0 -38
- nox_uv-0.2.2.dist-info/RECORD +0 -6
- {nox_uv-0.2.2.dist-info → nox_uv-0.3.0.dist-info}/WHEEL +0 -0
- {nox_uv-0.2.2.dist-info → nox_uv-0.3.0.dist-info}/licenses/LICENSE.txt +0 -0
nox_uv/__init__.py
CHANGED
|
@@ -2,13 +2,13 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from collections.abc import Callable, Sequence
|
|
4
4
|
import functools
|
|
5
|
-
from typing import Any, TypeVar
|
|
5
|
+
from typing import Any, TypeVar, Union
|
|
6
6
|
|
|
7
7
|
import nox
|
|
8
8
|
|
|
9
9
|
R = TypeVar("R")
|
|
10
10
|
|
|
11
|
-
Python = Sequence[str]
|
|
11
|
+
Python = Union[Sequence[str], str, bool]
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
def session(
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nox-uv
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Facilitate nox integration with uv for Python projects
|
|
5
|
+
Project-URL: Homepage, https://github.com/dantebben/nox-uv
|
|
6
|
+
Author-email: Dan Tebben <dantebben@gmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE.txt
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Software Development :: Testing
|
|
21
|
+
Classifier: Typing :: Typed
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Requires-Dist: nox>=2025.05.01
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
## Intro
|
|
27
|
+
|
|
28
|
+
This is a basic drop-in replacement for `nox.session` of [nox](https://nox.thea.codes/) to be used
|
|
29
|
+
with the [uv](https://docs.astral.sh/uv/) package manager.
|
|
30
|
+
|
|
31
|
+
To use, import `session` from `nox_uv` in your `noxfile.py`.
|
|
32
|
+
|
|
33
|
+
> [!NOTE]
|
|
34
|
+
> All `@session(...)` parameters are keywords only, no positional parameters are allowed.
|
|
35
|
+
|
|
36
|
+
> [!NOTE]
|
|
37
|
+
> The `default_groups` defined in `pyproject.toml` are _not_ installed by default. The
|
|
38
|
+
> user must explicitly list the desired groups in the `uv_groups` parameter.
|
|
39
|
+
|
|
40
|
+
## Added parameters
|
|
41
|
+
|
|
42
|
+
- `uv_groups`: list of `uv` dependency groups
|
|
43
|
+
- `uv_extras`: list of `uv` extras
|
|
44
|
+
- `uv_all_extras`: boolean to install all extras from `pyproject.toml`
|
|
45
|
+
- `uv_all_groups`: boolean to install all dependency groups
|
|
46
|
+
|
|
47
|
+
## Inspiration
|
|
48
|
+
|
|
49
|
+
This is heavily influenced by, but much more limited than,
|
|
50
|
+
[nox-poetry](https://nox-poetry.readthedocs.io).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
nox_uv/__init__.py,sha256=r5KNgONE17jPy66T_MK6caqw5pkNYCHTgxWdcM3NuPQ,3054
|
|
2
|
+
nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
nox_uv-0.3.0.dist-info/METADATA,sha256=qPBt6LmmykDW1NSS6ig1hcDL5FMIW3E4xZV_LcnZb8o,1844
|
|
4
|
+
nox_uv-0.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
5
|
+
nox_uv-0.3.0.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
|
|
6
|
+
nox_uv-0.3.0.dist-info/RECORD,,
|
nox_uv-0.2.2.dist-info/METADATA
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: nox-uv
|
|
3
|
-
Version: 0.2.2
|
|
4
|
-
Summary: Facilitate nox integration with uv for Python projects
|
|
5
|
-
Project-URL: Homepage, https://github.com/dantebben/nox-uv
|
|
6
|
-
Author-email: Dan Tebben <dantebben@gmail.com>
|
|
7
|
-
License-Expression: MIT
|
|
8
|
-
License-File: LICENSE.txt
|
|
9
|
-
Requires-Python: >=3.10
|
|
10
|
-
Requires-Dist: nox>=2025.2.9
|
|
11
|
-
Provides-Extra: doc
|
|
12
|
-
Requires-Dist: mkdocs; extra == 'doc'
|
|
13
|
-
Provides-Extra: plot
|
|
14
|
-
Requires-Dist: plotly; extra == 'plot'
|
|
15
|
-
Description-Content-Type: text/markdown
|
|
16
|
-
|
|
17
|
-
## Intro
|
|
18
|
-
|
|
19
|
-
This is heavliy influcenced by, but much more limited than,
|
|
20
|
-
[nox-poetry](https://nox-poetry.readthedocs.io).
|
|
21
|
-
|
|
22
|
-
This is a basic drop-in replacement for `nox.session` of [nox](https://nox.thea.codes/) to be used
|
|
23
|
-
with the [uv](https://docs.astral.sh/uv/) package manager.
|
|
24
|
-
|
|
25
|
-
To use, import `session` from `nox-uv` in your `nox-file`.
|
|
26
|
-
|
|
27
|
-
**NOTE**: All `@session(...)` parameters are keywords only, no positional parameters are allowed.
|
|
28
|
-
|
|
29
|
-
**NOTE**: The `default_groups` defined in `pyproject.toml` are _not_ installed by default. The
|
|
30
|
-
user must explicitly list the desired groups in the `uv_groups` parameter.
|
|
31
|
-
|
|
32
|
-
## Added parameters
|
|
33
|
-
|
|
34
|
-
- `uv_groups`: list of `uv` dependency groups
|
|
35
|
-
- `uv_extras`: list of `uv` extras
|
|
36
|
-
- `uv_all_extras`: boolean to install all extras from `pyproject.toml`
|
|
37
|
-
- `uv_all_groups`: boolean to install all dependency groups
|
|
38
|
-
|
nox_uv-0.2.2.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
nox_uv/__init__.py,sha256=F8ssJOwgOfXFcQ9Qw5i3iVmmfPQuSVMzAW-iUjGJ6C0,3049
|
|
2
|
-
nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
nox_uv-0.2.2.dist-info/METADATA,sha256=aU0SsLaD61iWn54WFmmBqbn5cqqyq4sYkDCZ0nV_5-0,1328
|
|
4
|
-
nox_uv-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
5
|
-
nox_uv-0.2.2.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
|
|
6
|
-
nox_uv-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|