Commit 037c5a50 by Sébastien Eustace Committed by GitHub

Merge pull request #2696 from python-poetry/release-1.0.10

Release 1.0.10
parents cd72aed8 d3c9049a
...@@ -40,7 +40,7 @@ jobs: ...@@ -40,7 +40,7 @@ jobs:
run: | run: |
echo ::set-output name=tag::${GITHUB_REF#refs/tags/} echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: "3.8" python-version: "3.8"
- name: Install Poetry - name: Install Poetry
...@@ -58,17 +58,19 @@ jobs: ...@@ -58,17 +58,19 @@ jobs:
curl -L https://github.com/sdispater/python-binaries/releases/download/3.5.9/python-3.5.9.macos.tar.xz -o python-3.5.9.tar.xz curl -L https://github.com/sdispater/python-binaries/releases/download/3.5.9/python-3.5.9.macos.tar.xz -o python-3.5.9.tar.xz
curl -L https://github.com/sdispater/python-binaries/releases/download/3.6.8/python-3.6.8.macos.tar.xz -o python-3.6.8.tar.xz curl -L https://github.com/sdispater/python-binaries/releases/download/3.6.8/python-3.6.8.macos.tar.xz -o python-3.6.8.tar.xz
curl -L https://github.com/sdispater/python-binaries/releases/download/3.7.6/python-3.7.6.macos.tar.xz -o python-3.7.6.tar.xz curl -L https://github.com/sdispater/python-binaries/releases/download/3.7.6/python-3.7.6.macos.tar.xz -o python-3.7.6.tar.xz
curl -L https://github.com/sdispater/python-binaries/releases/download/3.8.2/python-3.8.2.macos.tar.xz -o python-3.8.2.tar.xz curl -L https://github.com/sdispater/python-binaries/releases/download/3.8.3/python-3.8.3.macos.tar.xz -o python-3.8.3.tar.xz
curl -L https://github.com/sdispater/python-binaries/releases/download/3.9.0b4/python-3.9.0b4.macos.tar.xz -o python-3.9.0b4.tar.xz
tar -zxf python-2.7.17.tar.xz tar -zxf python-2.7.17.tar.xz
tar -zxf python-3.4.10.tar.xz tar -zxf python-3.4.10.tar.xz
tar -zxf python-3.5.9.tar.xz tar -zxf python-3.5.9.tar.xz
tar -zxf python-3.6.8.tar.xz tar -zxf python-3.6.8.tar.xz
tar -zxf python-3.7.6.tar.xz tar -zxf python-3.7.6.tar.xz
tar -zxf python-3.8.2.tar.xz tar -zxf python-3.8.3.tar.xz
tar -zxf python-3.9.0b4.tar.xz
- name: Build specific release - name: Build specific release
run: | run: |
source $HOME/.poetry/env source $HOME/.poetry/env
poetry run python sonnet make release --ansi -P "2.7:python-2.7.17/bin/python" -P "3.4:python-3.4.10/bin/python" -P "3.5:python-3.5.9/bin/python" -P "3.6:python-3.6.8/bin/python" -P "3.7:python-3.7.6/bin/python" -P "3.8:python-3.8.2/bin/python" poetry run python sonnet make release --ansi -P "2.7:python-2.7.17/bin/python" -P "3.4:python-3.4.10/bin/python" -P "3.5:python-3.5.9/bin/python" -P "3.6:python-3.6.8/bin/python" -P "3.7:python-3.7.6/bin/python" -P "3.8:python-3.8.3/bin/python" -P "3.9:python-3.9.0b4/bin/python"
- name: Upload release file - name: Upload release file
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
...@@ -91,7 +93,7 @@ jobs: ...@@ -91,7 +93,7 @@ jobs:
run: | run: |
echo ::set-output name=tag::${GITHUB_REF#refs/tags/} echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: "3.8" python-version: "3.8"
- name: Install Poetry - name: Install Poetry
...@@ -109,23 +111,26 @@ jobs: ...@@ -109,23 +111,26 @@ jobs:
Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.5.4/python-3.5.4.windows.tar.xz -O python-3.5.4.tar.xz Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.5.4/python-3.5.4.windows.tar.xz -O python-3.5.4.tar.xz
Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.6.8/python-3.6.8.windows.tar.xz -O python-3.6.8.tar.xz Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.6.8/python-3.6.8.windows.tar.xz -O python-3.6.8.tar.xz
Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.7.6/python-3.7.6.windows.tar.xz -O python-3.7.6.tar.xz Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.7.6/python-3.7.6.windows.tar.xz -O python-3.7.6.tar.xz
Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.8.2/python-3.8.2.windows.tar.xz -O python-3.8.2.tar.xz Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.8.3/python-3.8.3.windows.tar.xz -O python-3.8.3.tar.xz
Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.9.0b4/python-3.9.0b4.windows.tar.xz -O python-3.9.0b4.tar.xz
7z x python-2.7.17.tar.xz 7z x python-2.7.17.tar.xz
7z x python-3.4.4.tar.xz 7z x python-3.4.4.tar.xz
7z x python-3.5.4.tar.xz 7z x python-3.5.4.tar.xz
7z x python-3.6.8.tar.xz 7z x python-3.6.8.tar.xz
7z x python-3.7.6.tar.xz 7z x python-3.7.6.tar.xz
7z x python-3.8.2.tar.xz 7z x python-3.8.3.tar.xz
7z x python-3.9.0b4.tar.xz
7z x python-2.7.17.tar 7z x python-2.7.17.tar
7z x python-3.4.4.tar 7z x python-3.4.4.tar
7z x python-3.5.4.tar 7z x python-3.5.4.tar
7z x python-3.6.8.tar 7z x python-3.6.8.tar
7z x python-3.7.6.tar 7z x python-3.7.6.tar
7z x python-3.8.2.tar 7z x python-3.8.3.tar
7z x python-3.9.0b4.tar
- name: Build specific release - name: Build specific release
run: | run: |
$env:Path += ";$env:Userprofile\.poetry\bin" $env:Path += ";$env:Userprofile\.poetry\bin"
poetry run python sonnet make release --ansi -P "2.7:python-2.7.17\python.exe" -P "3.4:python-3.4.4\python.exe" -P "3.5:python-3.5.4\python.exe" -P "3.6:python-3.6.8\python.exe" -P "3.7:python-3.7.6\python.exe" -P "3.8:python-3.8.2\python.exe" poetry run python sonnet make release --ansi -P "2.7:python-2.7.17\python.exe" -P "3.4:python-3.4.4\python.exe" -P "3.5:python-3.5.4\python.exe" -P "3.6:python-3.6.8\python.exe" -P "3.7:python-3.7.6\python.exe" -P "3.8:python-3.8.3\python.exe" -P "3.9:python-3.9.0b4\python.exe"
- name: Upload release file - name: Upload release file
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
...@@ -242,6 +247,10 @@ jobs: ...@@ -242,6 +247,10 @@ jobs:
asset_path: releases/poetry-${{ steps.tag.outputs.tag }}-win32.sha256sum asset_path: releases/poetry-${{ steps.tag.outputs.tag }}-win32.sha256sum
asset_name: poetry-${{ steps.tag.outputs.tag }}-win32.sha256sum asset_name: poetry-${{ steps.tag.outputs.tag }}-win32.sha256sum
asset_content_type: text/plain asset_content_type: text/plain
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install Poetry - name: Install Poetry
run: | run: |
python get-poetry.py --preview -y python get-poetry.py --preview -y
......
# Change Log # Change Log
## [1.0.10] - 2020-07-21
### Changed
- The lock files are now versioned to ease transitions for lock file format changes, with warnings being displayed on incompatibility detection ([#2695](https://github.com/python-poetry/poetry/pull/2695)).
- The `init` and `new` commands will now provide hints on invalid given licenses ([#1634](https://github.com/python-poetry/poetry/pull/1634)).
### Fixed
- Fixed error messages when the authors specified in the `pyproject.toml` file are invalid ([#2525](https://github.com/python-poetry/poetry/pull/2525)).
- Fixed empty `.venv` directories being deleted ([#2064](https://github.com/python-poetry/poetry/pull/2064)).
- Fixed the `shell` command for `tcsh` shells ([#2583](https://github.com/python-poetry/poetry/pull/2583)).
- Fixed errors when installing directory or file dependencies in some cases ([#2582](https://github.com/python-poetry/poetry/pull/2582)).
## [1.0.9] - 2020-06-09 ## [1.0.9] - 2020-06-09
### Fixed ### Fixed
...@@ -868,7 +883,8 @@ Initial release ...@@ -868,7 +883,8 @@ Initial release
[Unreleased]: https://github.com/python-poetry/poetry/compare/1.0.9...master [Unreleased]: https://github.com/python-poetry/poetry/compare/1.0.10...master
[1.0.10]: https://github.com/python-poetry/poetry/releases/tag/1.0.10
[1.0.9]: https://github.com/python-poetry/poetry/releases/tag/1.0.9 [1.0.9]: https://github.com/python-poetry/poetry/releases/tag/1.0.9
[1.0.8]: https://github.com/python-poetry/poetry/releases/tag/1.0.8 [1.0.8]: https://github.com/python-poetry/poetry/releases/tag/1.0.8
[1.0.7]: https://github.com/python-poetry/poetry/releases/tag/1.0.7 [1.0.7]: https://github.com/python-poetry/poetry/releases/tag/1.0.7
......
...@@ -48,7 +48,15 @@ wheel: ...@@ -48,7 +48,15 @@ wheel:
linux_release: linux_release:
docker pull quay.io/pypa/manylinux2010_x86_64 docker pull quay.io/pypa/manylinux2010_x86_64
docker run --rm -i -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /io/make-linux-release.sh docker run --rm -i -v `pwd`:/io \
-e PYTHON=/opt/python/cp38-cp38/bin/python \
-e PYTHON27=/opt/python/cp27-cp27m/bin/python \
-e PYTHON35=/opt/python/cp35-cp35m/bin/python \
-e PYTHON36=/opt/python/cp36-cp36m/bin/python \
-e PYTHON37=/opt/python/cp37-cp37m/bin/python \
-e PYTHON38=/opt/python/cp38-cp38/bin/python \
-e PYTHON39=/opt/python/cp39-cp39/bin/python \
quay.io/pypa/manylinux2010_x86_64 sh -c "cd /io && ./make-linux-release.sh"
# run tests against all supported python versions # run tests against all supported python versions
tox: tox:
......
#!/bin/bash #!/bin/sh
PYTHON_VERSIONS="cp27-cp27m cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38"
cd /io set -e
/opt/python/cp37-cp37m/bin/pip install pip -U
/opt/python/cp37-cp37m/bin/pip install poetry -U --pre test -n "$PYTHON" || PYTHON="python3"
/opt/python/cp37-cp37m/bin/poetry config virtualenvs.create false $PYTHON get-poetry.py -y
/opt/python/cp37-cp37m/bin/poetry install --no-dev $PYTHON $HOME/.poetry/bin/poetry config virtualenvs.create false
/opt/python/cp37-cp37m/bin/python sonnet make release --ansi \ $PYTHON $HOME/.poetry/bin/poetry install --no-dev
-P "2.7:/opt/python/cp27-cp27m/bin/python" \ $PYTHON $HOME/.poetry/bin/poetry run python sonnet make release \
-P "3.5:/opt/python/cp35-cp35m/bin/python" \ ${PYTHON27:+-P "2.7:$PYTHON27"} \
-P "3.6:/opt/python/cp36-cp36m/bin/python" \ ${PYTHON35:+-P "3.5:$PYTHON35"} \
-P "3.7:/opt/python/cp37-cp37m/bin/python" \ ${PYTHON36:+-P "3.6:$PYTHON36"} \
-P "3.8:/opt/python/cp38-cp38/bin/python" ${PYTHON37:+-P "3.7:$PYTHON37"} \
cd - ${PYTHON38:+-P "3.8:$PYTHON38"} \
${PYTHON39:+-P "3.9:$PYTHON39"}
__version__ = "1.0.9" __version__ = "1.0.10"
[tool.poetry] [tool.poetry]
name = "poetry" name = "poetry"
version = "1.0.9" version = "1.0.10"
description = "Python dependency management and packaging made easy." description = "Python dependency management and packaging made easy."
authors = [ authors = [
"Sébastien Eustace <sebastien@eustace.io>" "Sébastien Eustace <sebastien@eustace.io>"
......
...@@ -30,6 +30,7 @@ class MakeReleaseCommand(Command): ...@@ -30,6 +30,7 @@ class MakeReleaseCommand(Command):
"3.6": "python3.6", "3.6": "python3.6",
"3.7": "python3.7", "3.7": "python3.7",
"3.8": "python3.8", "3.8": "python3.8",
"3.9": "python3.9",
} }
def handle(self): def handle(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment