Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(deps): update dependency uv to v0.4.3 #3177

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
uv (source, changelog) 0.3.5 -> 0.4.3 age adoption passing confidence

Release Notes

astral-sh/uv (uv)

v0.4.3

Compare Source

Enhancements
  • Show build backend output when --verbose is provided (#​6903)
  • Allow uv sync --frozen --package without copying member pyproject.toml (#​6943)
Bug fixes
  • Avoid panic with missing temporary directory (#​6929)
  • Avoid updating incorrect dependencies for sorted uv add (#​6939)
  • Use lower-bound semantics for all Python compatibility comparisons (#​6882)

v0.4.2

Compare Source

Enhancements
  • Adding support for .pyc files in uv run (#​6886)
  • Treat missing top_level.txt as non-fatal (#​6881)
Bug fixes
  • Fix is_disjoint check for supported environments (#​6902)
  • Remove dangling archives in uv cache clean ${package} (#​6915)
  • Error when discovered Python is incompatible with --isolated workspace (#​6885)
  • Warn when discovered Python is incompatible with PEP 723 script (#​6884)

v0.4.1

Compare Source

Enhancements
  • Add uv export --format requirements-txt (#​6778)
  • Allow @ references in uv tool install --from (#​6842)
  • Normalize version specifiers by sorting (#​6333)
  • Respect the user's upper-bound in requires-python (#​6824)
  • Use Windows registry to discover Python on Windows directly (#​6761)
  • Hint at --no-workspace in uv init failures (#​6815)
  • Update to last PyPy releases (#​6784)
Bug fixes
  • Avoid deadlocks when multiple uv processes lock resources (#​6790)
  • Expand tildes when matching against PATH (#​6829)
  • Fix uv init --no-project alias (#​6837)
  • Ignore pre-release segments when discovering via requires-python (#​6813)
  • Support inline optional tables in uv add and uv remove (#​6787)
  • Update default hello.py to pass ruff format (#​6811)
  • Avoid stripping root for user path display (#​6865)
  • Error when user-provided environments are disjoint with Python (#​6841)
  • Retain alphabetical sorting for pyproject.toml in uv add operations (#​6388)))
Documentation
  • Add a link to the multiple index docs in the alternative index guide (#​6826)
  • Add docs for inline exclude newer in PEP 723 scripts (#​6831)
  • Enumerate available Docker tags (#​6768)
  • Omit [pip] section from configuration file docs (#​6814)
  • Update project.urls in pyproject.toml (#​6844)
  • Add docs for AWS CodeArtifact usage (#​6816)
Other changes

v0.4.0

Compare Source

This release adds first-class support for Python projects that are not designed as Python packages (e.g., web applications, data science projects, etc.).

In doing so, it includes some breaking changes around uv's handling of projects. Previously, uv required that all projects could be built into distributable Python packages, and installed them into the virtual environment. Projects created by uv init always included a [build-system] definition and existing projects that did not define a [build-system] would use the legacy setuptools build backend by default.

Most users are not developing libraries that need to be packaged and published to PyPI. Instead, they're building applications using web frameworks, or running collections of Python scripts in the project's root directory. In these cases, requiring a [build-system] was confusing and error-prone. In this release, uv changes the default behavior to orient around these common use cases.

In summary, the major changes are:

  • uv no longer attempts to package and install projects that do not define a [build-system].
    • While the project itself will not be installed into the virtual environment, its dependencies will still be included.
    • The previous behavior can be recovered by setting package = true in the [tool.uv] section of your pyproject.toml.
  • uv init no longer creates a src/ directory or defines a [build-system] by default.
    • The previous behavior can be recovered with uv init --lib or uv init --app --package.
  • uv allows and recommends including [project] definitions in virtual workspace roots.
    • Previously, the uv required the [project] section to be omitted.
  • uv allows disabling packaging of projects, even if they define a [build-system], by setting package = false in the [tool.uv] section of your pyproject.toml.

See the latest documentation on build systems in projects for more details.

Enhancements
  • Add first-class support for non-packaged projects (#​6585)
  • Add --app and --lib options to uv init (#​6689)
  • Use virtual source label in lockfile for non-packaged dependencies (#​6728)
  • Read hash from URL fragment if --hashes are omitted (#​6731)
  • Support {package}@​{version} in uv tool install (#​6762)
  • Publish additional Docker tags without patch version (#​6734)
Bug fixes
  • Accept either strings or structs for hosts (#​6763)
  • Avoid including non-excluded members in parent workspaces (#​6735)
  • Avoid reading stale .egg-info from mutable sources (#​6714)
  • Avoid writing invalid PEP 723 scripts on tool.uv.sources (#​6706)
  • Compare virtual members when invalidating lockfile (#​6754)
  • Do not require workspace members to sync with --frozen (#​6737)
  • Implement deserialization for trusted host (#​6716)
  • Avoid showing duplicate paths in uv python list (#​6740)
  • Raise an error for unclosed script tags in PEP 723 scripts (#​6704)
Documentation
  • Add dependabot and renovate documentation page (#​6236)
  • Bind to the host to allow connections in FastAPI Docker example (#​6753)
  • Fix some broken links (#​6705)
  • Update FastAPI guide for virtual projects and use uv init to create the pyproject.toml (#​6752)
  • Update project documentation for the application / library concepts (#​6718)
  • Update workspace documentation to remove legacy virtual projects (#​6720)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/test-uv-0.x branch from ce01edd to c140339 Compare August 30, 2024 15:21
@renovate renovate bot changed the title test(deps): update dependency uv to v0.4.0 test(deps): update dependency uv to v0.4.1 Aug 30, 2024
@viceice viceice added this pull request to the merge queue Aug 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 30, 2024
@renovate renovate bot force-pushed the renovate/test-uv-0.x branch from c140339 to 0fec57c Compare September 1, 2024 18:54
@renovate renovate bot changed the title test(deps): update dependency uv to v0.4.1 test(deps): update dependency uv to v0.4.2 Sep 1, 2024
@renovate renovate bot force-pushed the renovate/test-uv-0.x branch from 0fec57c to 6f704b2 Compare September 2, 2024 22:07
@renovate renovate bot changed the title test(deps): update dependency uv to v0.4.2 test(deps): update dependency uv to v0.4.3 Sep 2, 2024
@viceice viceice added this pull request to the merge queue Sep 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2024
@viceice viceice merged commit c33c36e into main Sep 3, 2024
34 checks passed
@viceice viceice deleted the renovate/test-uv-0.x branch September 3, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant