Basic tasks for preparing a Python interpreter in a uv-managed virtual environment with the required dependencies installed.
Attributes
- Companion
- object
- Source
- UvModule.scala
- Graph
-
- Supertypes
- Known subtypes
-
trait PythonModuletrait BarePythonModuletrait Baretrait CoverageModuletrait CoverageTeststrait PublishModuletrait RuffModuleobject RuffModuletrait Pytesttrait UnittestShow all
Members list
Type members
Inherited classlikes
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Attributes
- Inherited from:
- Module
- Source
- Module.scala
- Supertypes
Value members
Concrete methods
Base URLs of Python package indexes to search, in priority order. The final URL is passed to uv as its lowest-priority default index.
Base URLs of Python package indexes to search, in priority order. The final URL is passed to uv as its lowest-priority default index.
Attributes
- Source
- UvModule.scala
The direct dependencies of this module.
Python dependencies to install. Each dependency uses the format accepted by uv pip install or a requirements.txt file.
Python dependencies to install. Each dependency uses the format accepted by uv pip install or a requirements.txt file.
Attributes
- Source
- UvModule.scala
Local, non-Mill Python projects to install as dependencies. Each directory should contain standard Python project metadata such as pyproject.toml. Use Task.Sources when overriding this so project contents participate in cache invalidation.
Local, non-Mill Python projects to install as dependencies. Each directory should contain standard Python project metadata such as pyproject.toml. Use Task.Sources when overriding this so project contents participate in cache invalidation.
Attributes
- Source
- UvModule.scala
Requirements files to install for this module.
Python dependencies used only as development tools, such as type checkers, linters, and bundlers.
Python dependencies used only as development tools, such as type checkers, linters, and bundlers.
Attributes
- Source
- UvModule.scala
Python dependencies of this module and all upstream modules.
Local Python projects of this module and all upstream modules.
Requirements files of this module and all upstream modules.
Direct wheels of this module and all upstream modules.
Python wheels to install directly. Local wheels should be declared here so their signatures participate in Mill cache invalidation.
Python wheels to install directly. Local wheels should be declared here so their signatures participate in Mill cache invalidation.
Attributes
- Source
- UvModule.scala
URL of the SHA-256 checksum for uvDownloadUrl.
URL of the platform-specific uv archive Mill downloads.
The uv executable used by this module. Mill downloads it once into the shared Coursier archive cache, verifies its SHA-256 checksum, and reuses it across builds.
The uv executable used by this module. Mill downloads it once into the shared Coursier archive cache, verifies its SHA-256 checksum, and reuses it across builds.
Attributes
- Source
- UvModule.scala
uv arguments that preserve the priority order declared by indexes.
Arguments passed to uv pip install when preparing the environment.
Arguments passed to uv pip install when preparing the environment.
This is an escape hatch. Prefer overriding the higher-level dependency, local-project, wheel, requirements-file, or index tasks.
Attributes
- Source
- UvModule.scala
The uv version Mill downloads and uses.
Inherited methods
Attributes
- Inherited from:
- BaseClass
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Module -> Any
- Inherited from:
- Module
- Source
- Module.scala