From c40fe28a7cca8075406fe3f3ffb973eb984bc239 Mon Sep 17 00:00:00 2001 From: finswimmer Date: Sat, 5 Mar 2022 22:44:15 +0100 Subject: [PATCH] bump to version 1.2.0b1 --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++- poetry.lock | 2 +- pyproject.toml | 2 +- src/poetry/__version__.py | 4 +++- 4 files changed, 54 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63b037cf3f8..565cb60fa0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,52 @@ # Change Log +## [1.2.0b1] - 2022-03-09 + +### Fixed + +- Fixed an issue where the system environment couldn't be detected ([#4406](https://github.com/python-poetry/poetry/pull/4406)). +- Fixed another issue where the system environment couldn't be detected ([#4433](https://github.com/python-poetry/poetry/pull/4433)). +- Replace deprecated requests parameter in uploader ([#4580](https://github.com/python-poetry/poetry/pull/4580)). +- Fix an issue where venv are detected as broken when using MSys2 on windows ([#4482](https://github.com/python-poetry/poetry/pull/4482)). +- Fixed an issue where the cache breaks on windows ([#4531](https://github.com/python-poetry/poetry/pull/4531)). +- Fixed an issue where a whitespace before a semicolon was missing on `poetry export` ([#4575](https://github.com/python-poetry/poetry/issues/4575)). +- Fixed an issue where markers were not correctly assigned to nested dependencies ([#3511](https://github.com/python-poetry/poetry/issues/3511)). +- Recognize one digit version in wheel filenames ([#3338](https://github.com/python-poetry/poetry/pull/3338)). +- Fixed an issue when `locale` is unset ([#4038](https://github.com/python-poetry/poetry/pull/4038)). +- Fixed an issue where the fallback to another interpreter didn't work ([#3475](https://github.com/python-poetry/poetry/pull/3475)). +- Merge any marker constraints into constraints with specific markers ([#4590](https://github.com/python-poetry/poetry/pull/4590)). +- Normalize path before hashing so that the generated venv name is independent of case on Windows ([#4813](https://github.com/python-poetry/poetry/pull/4813)). +- Fixed an issue where a dependency wasn't upgrade by using `@latest` on `poetry update` ([#4945](https://github.com/python-poetry/poetry/pull/4945)). +- Fixed an issue where conda envs in windows are always reported as broken([#5007](https://github.com/python-poetry/poetry/pull/5007)). +- Fixed an issue where Poetry doesn't find its own venv on `poetry self update` ([#5049](https://github.com/python-poetry/poetry/pull/5049)). +- Fix misuse of pretty_constraint ([#4932](https://github.com/python-poetry/poetry/pull/4932)). +- Fixed an issue where the reported python version used for venv creation wasn't correct ([#5086](https://github.com/python-poetry/poetry/pull/5086)). +- Fixed an issue where the searched package wasn't display in the interactive dialog of `poetry init` ([#5076](https://github.com/python-poetry/poetry/pull/5076)). +- Fixed an issue where Poetry raises an excepetion on `poetry show` when no lock files exists ([#5242](https://github.com/python-poetry/poetry/pull/5242)). +- Fixed an issue where Poetry crashes when optional `vcs_info.requested_version` in `direct_url.json` wasn't included ([#5274](https://github.com/python-poetry/poetry/pull/5274)). +- Fixed an issue where dependencies with extras were updated despite using `--no-update` ([#4618](https://github.com/python-poetry/poetry/pull/4618)). + +### Added + +- `poetry show ` now also shows which packages depend on it ([#2351](https://github.com/python-poetry/poetry/pull/2351)). +- Print error message when `poetry publish` fails ([#3549](https://github.com/python-poetry/poetry/pull/3549)). +- Added in info output to `poetry lock --check` ([#5081](https://github.com/python-poetry/poetry/pull/5081)). +- New argument `--all` for `poetry env remove` to delete all venv of a project at once ([#3212](https://github.com/python-poetry/poetry/pull/3212)). +- New argument `--without-urls` for `poetry export` to exclude source repository urls from the exported file ([#4763](https://github.com/python-poetry/poetry/pull/4763)). +- Added a `new installer.max-workers` property to the configuration ([#3516](https://github.com/python-poetry/poetry/pull/3516)). +- Added experimental option `virtualenvs.prefer-active-python` to detect current activated python ([#4852](https://github.com/python-poetry/poetry/pull/4852)). +- Added better windows shell support ([#5053](https://github.com/python-poetry/poetry/pull/5053)). + +### Changed + +- Drop python3.6 support ([#5055](https://github.com/python-poetry/poetry/pull/5055)). +- Send error message from export command to stderr ([#4110](https://github.com/python-poetry/poetry/pull/4110)). +- Write several messages to stderr instead of stdout ([#5179](https://github.com/python-poetry/poetry/pull/5179)). +- Exit with callable return code in generated script ([#4456](https://github.com/python-poetry/poetry/pull/4456)). +- Replace deprecated `pep517.build` by `build` ([#5155](https://github.com/python-poetry/poetry/pull/5155)). +- Check if the python executable version in the environment is still valid ([#4520](https://github.com/python-poetry/poetry/pull/4520)). + + ## [1.1.13] - 2022-02-09 ### Fixed @@ -1217,7 +1264,8 @@ Initial release -[Unreleased]: https://github.com/python-poetry/poetry/compare/1.2.0a2...master +[Unreleased]: https://github.com/python-poetry/poetry/compare/1.2.0b1...master +[1.2.0b1]: https://github.com/python-poetry/poetry/compare/1.2.0b1 [1.2.0a2]: https://github.com/python-poetry/poetry/compare/1.2.0a2 [1.2.0a1]: https://github.com/python-poetry/poetry/compare/1.2.0a1 [1.1.13]: https://github.com/python-poetry/poetry/releases/tag/1.1.13 diff --git a/poetry.lock b/poetry.lock index 53d43b79892..3c0a674ebfa 100644 --- a/poetry.lock +++ b/poetry.lock @@ -707,7 +707,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest- [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "4b5d28e7ee8871d4244a4a2e471e6811faca54acdef1bfd0bb3c36bdc50a26dd" +content-hash = "e1979eb8cccef74af26d7fc01bb77d64515a2633fdb28bdbc2837da52fb24b98" [metadata.files] atomicwrites = [ diff --git a/pyproject.toml b/pyproject.toml index fb1bd4d1968..ba13316c4f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry" -version = "1.2.0a2" +version = "1.2.0-beta.1" description = "Python dependency management and packaging made easy." authors = [ "Sébastien Eustace " diff --git a/src/poetry/__version__.py b/src/poetry/__version__.py index f912eb6596b..2c9a2eac138 100644 --- a/src/poetry/__version__.py +++ b/src/poetry/__version__.py @@ -1,4 +1,6 @@ from __future__ import annotations +from poetry.utils._compat import metadata -__version__ = "1.2.0a2" + +__version__ = metadata.version("poetry")