nox-uv 0.4.0__py3-none-any.whl → 0.5.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
@@ -94,10 +94,12 @@ def session(
94
94
  # UV called from Nox does not respect the Python version set in the Nox session.
95
95
  # We need to pass the Python version to UV explicitly.
96
96
  if s.python is not None:
97
- # NOTE: casting to string explicitly because implicit casting isn't working
98
- # for the type checker.
99
- s.env["UV_PYTHON"] = str(s.python)
97
+ s.env["UV_PYTHON"] = s.virtualenv.location
100
98
 
99
+ s.debug(
100
+ f"UV_PYTHON={s.env['UV_PYTHON']} | "
101
+ f"UV_PROJECT_ENVIRONMENT={s.env['UV_PROJECT_ENVIRONMENT']}"
102
+ )
101
103
  s.run_install(*sync_cmd)
102
104
  else:
103
105
  if len(extended_cmd) > 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nox-uv
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: Facilitate nox integration with uv for Python projects
5
5
  Project-URL: Homepage, https://github.com/dantebben/nox-uv
6
6
  Project-URL: Repository, https://github.com/dantebben/nox-uv
@@ -0,0 +1,6 @@
1
+ nox_uv/__init__.py,sha256=saOMVr75kYQRM1F2y0WhswoalybmXaeqyXWiQw1PtOs,3799
2
+ nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ nox_uv-0.5.0.dist-info/METADATA,sha256=E0z2X2Ls22uPh4gfkupWkBLlWSAPlAe7LqQGLrlskBM,4599
4
+ nox_uv-0.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ nox_uv-0.5.0.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
6
+ nox_uv-0.5.0.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- nox_uv/__init__.py,sha256=xtgjQYAGFFioVyrb9Iu4msEwnHm3C_wluRBn0VV_3T8,3759
2
- nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- nox_uv-0.4.0.dist-info/METADATA,sha256=UYELp9h4KA9L0tz-4KUlULk8DrzGu5sU7eBOLl41CE4,4599
4
- nox_uv-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- nox_uv-0.4.0.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
6
- nox_uv-0.4.0.dist-info/RECORD,,
File without changes