Skip to content

Commit

Permalink
poetry 1.8.5 with python 3.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Dec 14, 2024
1 parent c0d849c commit f9b370f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: ./.github/workflows/release.yml
with:
workflow: ${{ github.workflow }}
tool_version: '1.8.3'
tool_version: '1.8.5'
prepare_body: |
bsdtar -Oxf ./build-gnu/build-gnu.tar.gz build-gnu.md >> body.md
bsdtar -Oxf ./build-msvc/build-msvc.tar.gz build-msvc.md >> body.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
| releases | latest source |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/python-3.13.1/total?label=⭳%20python-3.13.1-20241206)](https://github.com/hemnstill/StandaloneTools/releases/tag/python-3.13.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/indygreg/python-build-standalone?style=social&label=python-build-standalone)](https://github.com/indygreg/python-build-standalone) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/indygreg/python-build-standalone)](https://gregoryszorc.com/docs/python-build-standalone/main/) <br> [![GitHub Repo stars](https://img.shields.io/github/stars/python/cpython?style=social&label=python)](https://github.com/python/cpython) [![latest packaged version(s)](https://repology.org/badge/latest-versions/python.svg)](https://repology.org/project/python/versions) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/poetry-1.8.3/total?label=⭳%20poetry-1.8.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/poetry-1.8.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/python-poetry/poetry?style=social&label=poetry)](https://github.com/python-poetry/poetry) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python-poetry/poetry)](https://python-poetry.org/history/) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/poetry-1.8.5/total?label=⭳%20poetry-1.8.5)](https://github.com/hemnstill/StandaloneTools/releases/tag/poetry-1.8.5) | [![GitHub Repo stars](https://img.shields.io/github/stars/python-poetry/poetry?style=social&label=poetry)](https://github.com/python-poetry/poetry) [![latest packaged version(s)](https://repology.org/badge/latest-versions/poetry.svg)](https://repology.org/project/poetry/versions) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pylint-3.0.3/total?label=⭳%20pylint-3.0.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/pylint-3.0.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/PyCQA/pylint?style=social&label=pylint)](https://github.com/PyCQA/pylint) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/PyCQA/pylint)](https://pylint.pycqa.org/en/latest/) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/mypy-1.8.0/total?label=⭳%20mypy-1.8.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/mypy-1.8.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/python/mypy?style=social&label=mypy)](https://github.com/python/mypy) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/mypy)](https://mypy.readthedocs.io/en/latest/) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/ansible-8.3.0/total?label=⭳%20ansible-8.3.0-core-2.15.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/ansible-8.3.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/ansible/ansible?style=social&label=ansible)](https://github.com/ansible/ansible) [![PyPI](https://img.shields.io/pypi/v/ansible)](https://pypi.org/project/ansible/) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/ansible/ansible)](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) |
Expand Down
12 changes: 9 additions & 3 deletions poetry/build_gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
dp0="$(realpath "$(dirname "$0")")"
set -e

export DEBIAN_FRONTEND=noninteractive

apt update
apt install -y wget binutils
apt install -y wget binutils curl build-essential clang pkg-config libssl-dev

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"

tool_name="poetry"
tool_version="1.8.3"
python_self_name="python-3.12.5"
tool_version="1.8.5"
python_self_name="python-3.13.1"
self_name="$tool_name-$tool_version"
self_toolset_name="build-gnu"
release_version_dirpath="$dp0/release/$self_name"
Expand All @@ -33,6 +38,7 @@ echo "::endgroup::"
echo "::group::build"

echo "install poetry ..."
"$cpython_bin" -m pip install msgpack --no-binary=msgpack
"$cpython_bin" -m pip install "poetry==$tool_version"
"$cpython_bin" -m poetry self add poetry-plugin-sort
"$cpython_bin" -m poetry self lock
Expand Down
4 changes: 2 additions & 2 deletions poetry/build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ dp0="$(realpath "$(dirname "$0")")"
set -e

tool_name="poetry"
tool_version="1.8.3"
python_self_name="python-3.12.5"
tool_version="1.8.5"
python_self_name="python-3.13.1"
self_name="$tool_name-$tool_version"
self_toolset_name="build-msvc"
release_version_dirpath="$dp0/release/$self_name"
Expand Down
4 changes: 2 additions & 2 deletions poetry/test_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "3.12.5"
python = "3.13.1"
requests = "2.28.2"
mysqlclient = "2.2.1"
Expand All @@ -42,7 +42,7 @@ Package operations: 6 installs, 0 updates, 0 removals
Writing lock file'

test_version() {
assertEquals "Poetry (version 1.8.3)" "$(../bin/poetry.sh --version)"
assertEquals "Poetry (version 1.8.5)" "$(../bin/poetry.sh --version)"
}

test_version_plugins() {
Expand Down
4 changes: 2 additions & 2 deletions poetry/test_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "3.12.5"
python = "3.13.1"
requests = "2.28.2"
mysqlclient = "2.2.1"
Expand All @@ -30,7 +30,7 @@ Package operations: 6 installs, 0 updates, 0 removals
'

test_version() {
assertEquals "Poetry (version 1.8.3)" "$(../bin/poetry.bat --version)"
assertEquals "Poetry (version 1.8.5)" "$(../bin/poetry.bat --version)"
}

test_install_from_path() {
Expand Down

0 comments on commit f9b370f

Please sign in to comment.