Skip to content

Commit d828eec

Browse files
Update charmcraft.yaml build tools (#418)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [poetry](https://redirect.github.com/python-poetry/poetry) ([changelog](https://python-poetry.org/history/)) | `2.1.1` -> `2.1.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/poetry/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/poetry/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/poetry/2.1.1/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/poetry/2.1.1/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [uv](https://pypi.org/project/uv/) ([source](https://redirect.github.com/astral-sh/uv), [changelog](https://redirect.github.com/astral-sh/uv/blob/main/CHANGELOG.md)) | `0.6.9` -> `0.6.11` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/uv/0.6.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/uv/0.6.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/uv/0.6.9/0.6.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/uv/0.6.9/0.6.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>python-poetry/poetry (poetry)</summary> ### [`v2.1.2`](https://redirect.github.com/python-poetry/poetry/blob/HEAD/CHANGELOG.md#212---2025-03-29) [Compare Source](https://redirect.github.com/python-poetry/poetry/compare/2.1.1...2.1.2) ##### Changed - Improve performance of locking dependencies ([#&#8203;10275](https://redirect.github.com/python-poetry/poetry/pull/10275)). ##### Fixed - Fix an issue where markers were not locked correctly ([#&#8203;10240](https://redirect.github.com/python-poetry/poetry/pull/10240)). - Fix an issue where the result of `poetry lock` was not deterministic ([#&#8203;10276](https://redirect.github.com/python-poetry/poetry/pull/10276)). - Fix an issue where `poetry env activate` returned the wrong command for `tcsh` ([#&#8203;10243](https://redirect.github.com/python-poetry/poetry/pull/10243)). - Fix an issue where `poetry env activate` returned the wrong command for `pwsh` on Linux ([#&#8203;10256](https://redirect.github.com/python-poetry/poetry/pull/10256)). ##### Docs - Update basic usage section to reflect new default layout ([#&#8203;10203](https://redirect.github.com/python-poetry/poetry/pull/10203)). ##### poetry-core ([`2.1.2`](https://redirect.github.com/python-poetry/poetry-core/releases/tag/2.1.2)) - Improve performance of marker operations ([#&#8203;851](https://redirect.github.com/python-poetry/poetry-core/pull/851)). - Fix an issue where incorrect markers were calculated when removing parts covered by the project's Python constraint ([#&#8203;841](https://redirect.github.com/python-poetry/poetry-core/pull/841), [#&#8203;846](https://redirect.github.com/python-poetry/poetry-core/pull/846)). - Fix an issue where `extra` markers were not simplified ([#&#8203;842](https://redirect.github.com/python-poetry/poetry-core/pull/842), [#&#8203;845](https://redirect.github.com/python-poetry/poetry-core/pull/845), [#&#8203;847](https://redirect.github.com/python-poetry/poetry-core/pull/847)). - Fix an issue where the intersection and union of markers was not deterministic ([#&#8203;843](https://redirect.github.com/python-poetry/poetry-core/pull/843)). - Fix an issue where the intersection of `python_version` markers was not recognized as empty ([#&#8203;849](https://redirect.github.com/python-poetry/poetry-core/pull/849)). - Fix an issue where `python_version` markers were not simplified ([#&#8203;848](https://redirect.github.com/python-poetry/poetry-core/pull/848), [#&#8203;851](https://redirect.github.com/python-poetry/poetry-core/pull/851)). - Fix an issue where Python constraints on a package were converted into invalid markers ([#&#8203;853](https://redirect.github.com/python-poetry/poetry-core/pull/853)). </details> <details> <summary>astral-sh/uv (uv)</summary> ### [`v0.6.11`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0611) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.6.10...0.6.11) ##### Enhancements - Add dependents ("via ..." comments) in `uv export` command ([#&#8203;12350](https://redirect.github.com/astral-sh/uv/pull/12350)) - Bump least-recent non-EOL macOS version to 13.0 ([#&#8203;12518](https://redirect.github.com/astral-sh/uv/pull/12518)) - Support `--find-links`-style "flat" indexes in `[[tool.uv.index]]` ([#&#8203;12407](https://redirect.github.com/astral-sh/uv/pull/12407)) - Distinguish between `-q` and `-qq` ([#&#8203;12300](https://redirect.github.com/astral-sh/uv/pull/12300)) ##### Configuration - Support `UV_PROJECT` environment to set project directory. ([#&#8203;12327](https://redirect.github.com/astral-sh/uv/pull/12327)) ##### Performance - Use a boxed slice for various requirement types ([#&#8203;12514](https://redirect.github.com/astral-sh/uv/pull/12514)) ##### Bug fixes - Add a newline after metadata when initializing scripts with other metadata blocks ([#&#8203;12501](https://redirect.github.com/astral-sh/uv/pull/12501)) - Avoid writing empty `requires-python` to script blocks ([#&#8203;12517](https://redirect.github.com/astral-sh/uv/pull/12517)) - Respect build constraints in `uv sync` ([#&#8203;12502](https://redirect.github.com/astral-sh/uv/pull/12502)) - Respect transitive dependencies in `uv tree --only-group` ([#&#8203;12560](https://redirect.github.com/astral-sh/uv/pull/12560)) ### [`v0.6.10`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0610) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.6.9...0.6.10) ##### Enhancements - Add `uv sync --check` flag ([#&#8203;12342](https://redirect.github.com/astral-sh/uv/pull/12342)) - Add support for Python version requests in `uv python list` ([#&#8203;12375](https://redirect.github.com/astral-sh/uv/pull/12375)) - Support `.env` files in `uv tool run` ([#&#8203;12386](https://redirect.github.com/astral-sh/uv/pull/12386)) - Support `python find --script` ([#&#8203;11891](https://redirect.github.com/astral-sh/uv/pull/11891)) ##### Preview features - Check all compatible torch indexes when `--torch-backend` is enabled ([#&#8203;12385](https://redirect.github.com/astral-sh/uv/pull/12385)) ##### Performance - Use a boxed slice for extras and groups ([#&#8203;12391](https://redirect.github.com/astral-sh/uv/pull/12391)) - Use small string for index name type ([#&#8203;12355](https://redirect.github.com/astral-sh/uv/pull/12355)) ##### Bug fixes - Allow virtual packages with `--no-build` ([#&#8203;12314](https://redirect.github.com/astral-sh/uv/pull/12314)) - Ignore `--find-links` entries for pinned indexes ([#&#8203;12396](https://redirect.github.com/astral-sh/uv/pull/12396)) - Omit wheels from lockfile based on `--exclude-newer` ([#&#8203;12299](https://redirect.github.com/astral-sh/uv/pull/12299)) - Retain end-of-line comment position when adding dependency ([#&#8203;12360](https://redirect.github.com/astral-sh/uv/pull/12360)) - Omit fragment when querying for wheels in Simple HTML API ([#&#8203;12384](https://redirect.github.com/astral-sh/uv/pull/12384)) - Error on missing argument in `requirements.txt` ([#&#8203;12354](https://redirect.github.com/astral-sh/uv/pull/12354)) - Support modules with different casing in build backend ([#&#8203;12240](https://redirect.github.com/astral-sh/uv/pull/12240)) - Add authentication policy support for `pip` commands ([#&#8203;12470](https://redirect.github.com/astral-sh/uv/pull/12470)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* 1-5 * * 2" in timezone Etc/UTC, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/mysql-router-k8s-operator). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJub3QgYnVnIG9yIGVuaGFuY2VtZW50Il19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent a993d9f commit d828eec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: charmcraft.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ parts:
2727
PIP_BREAK_SYSTEM_PACKAGES=true python3 -m pip install --user --upgrade pip==25.0.1 # renovate: charmcraft-pip-latest
2828
2929
# Use uv to install poetry so that a newer version of Python can be installed if needed by poetry
30-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.6.9/uv-installer.sh | sh # renovate: charmcraft-uv-latest
30+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.6.11/uv-installer.sh | sh # renovate: charmcraft-uv-latest
3131
# poetry 2.0.0 requires Python >=3.9
3232
if ! "$HOME/.local/bin/uv" python find '>=3.9'
3333
then
3434
# Use first Python version that is >=3.9 and available in an Ubuntu LTS
3535
# (to reduce the number of Python versions we use)
3636
"$HOME/.local/bin/uv" python install 3.10.12 # renovate: charmcraft-python-ubuntu-22.04
3737
fi
38-
"$HOME/.local/bin/uv" tool install --no-python-downloads --python '>=3.9' poetry==2.1.1 --with poetry-plugin-export==1.9.0 # renovate: charmcraft-poetry-latest
38+
"$HOME/.local/bin/uv" tool install --no-python-downloads --python '>=3.9' poetry==2.1.2 --with poetry-plugin-export==1.9.0 # renovate: charmcraft-poetry-latest
3939
4040
ln -sf "$HOME/.local/bin/poetry" /usr/local/bin/poetry
4141
# "charm-poetry" part name is arbitrary; use for consistency

0 commit comments

Comments
 (0)