nox-uv 0.6.2__py3-none-any.whl → 0.7.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 CHANGED
@@ -25,7 +25,9 @@ def session(
25
25
  uv_extras: Sequence[str] = (),
26
26
  uv_only_groups: Sequence[str] = (),
27
27
  uv_all_extras: bool = False,
28
+ uv_no_extras: Sequence[str] = (),
28
29
  uv_all_groups: bool = False,
30
+ uv_no_groups: Sequence[str] = (),
29
31
  uv_no_install_project: bool = False,
30
32
  uv_sync_locked: bool = True,
31
33
  **kwargs: dict[str, Any],
@@ -54,7 +56,9 @@ def session(
54
56
  uv_groups=uv_groups,
55
57
  uv_extras=uv_extras,
56
58
  uv_all_extras=uv_all_extras,
59
+ uv_no_extras=uv_no_extras,
57
60
  uv_all_groups=uv_all_groups,
61
+ uv_no_groups=uv_no_groups,
58
62
  uv_only_groups=uv_only_groups,
59
63
  uv_no_install_project=uv_no_install_project,
60
64
  uv_sync_locked=uv_sync_locked,
@@ -82,9 +86,13 @@ def session(
82
86
 
83
87
  if uv_all_groups:
84
88
  extended_cmd.append("--all-groups")
89
+ # Add the no-group(s)
90
+ extended_cmd.extend([f"--no-group={g}" for g in uv_no_groups])
85
91
 
86
92
  if uv_all_extras:
87
93
  extended_cmd.append("--all-extras")
94
+ # Add the no-extra(s)
95
+ extended_cmd.extend([f"--no-extra={e}" for e in uv_no_extras])
88
96
 
89
97
  if uv_no_install_project:
90
98
  extended_cmd.append("--no-install-project")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nox-uv
3
- Version: 0.6.2
3
+ Version: 0.7.0
4
4
  Summary: Facilitate nox integration with uv for Python projects
5
5
  Keywords: nox,uv
6
6
  Author: Dan Tebben
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
21
22
  Classifier: Topic :: Software Development :: Testing
22
23
  Classifier: Typing :: Typed
23
24
  Requires-Dist: nox>=2025.5.1
@@ -97,7 +98,7 @@ options.default_venv_backend = "uv"
97
98
 
98
99
 
99
100
  @session(
100
- python=["3.10", "3.11", "3.12", "3.13"],
101
+ python=["3.10", "3.11", "3.12", "3.13", "3.14"],
101
102
  uv_groups=["test"],
102
103
  )
103
104
  def test(s: Session) -> None:
@@ -129,7 +130,9 @@ def lint(s: Session) -> None:
129
130
  - `uv_only_groups`: list of `uv` _only-groups_ to include. Prevents installation of project
130
131
  _dependencies_
131
132
  - `uv_all_extras`: boolean to install all _optional-dependencies_ from `pyproject.toml`
133
+ - `uv_no_extras`: list of extras to exclude during install of `uv_all_extras`
132
134
  - `uv_all_groups`: boolean to install all _dependency-groups_
135
+ - `uv_no_groups`: list of groups to exclude during install of `uv_all_groups`
133
136
  - `uv_no_install_project`: boolean to not install the current project
134
137
  - `uv_sync_locked`: boolean to validate that `uv.lock` is up to date
135
138
 
@@ -0,0 +1,6 @@
1
+ nox_uv/__init__.py,sha256=eHdLqUtf3HBYAXaqsS3aiXGdAvcnBQhrSX9i6SD-fLU,4335
2
+ nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ nox_uv-0.7.0.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
4
+ nox_uv-0.7.0.dist-info/WHEEL,sha256=RRVLqVugUmFOqBedBFAmA4bsgFcROUBiSUKlERi0Hcg,79
5
+ nox_uv-0.7.0.dist-info/METADATA,sha256=hWd_ZI7EoBtmWs7hlP-4AhIlg6kmeyvyNUkUIqgOYvY,5017
6
+ nox_uv-0.7.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.4
2
+ Generator: uv 0.9.21
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,6 +0,0 @@
1
- nox_uv/__init__.py,sha256=98c67130740d28d4e9e006e506f15aea706b9f6f0dc7b88c13f4e93b45c15761,3979
2
- nox_uv/py.typed,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
3
- nox_uv-0.6.2.dist-info/licenses/LICENSE.txt,sha256=89367900b1758ac9cce84cbd4e3a26d17206041cac02b07423634767d6be6fc2,1067
4
- nox_uv-0.6.2.dist-info/WHEEL,sha256=b6dc288e80aa2d1b1518ddb3502fd5b53e8fd6cb507ed2a4f932e9e6088b264a,78
5
- nox_uv-0.6.2.dist-info/METADATA,sha256=1711b62c7a9778af0507cef7d8d5c274a2c0cefe42358314255d9226d65320bf,4802
6
- nox_uv-0.6.2.dist-info/RECORD,,