From e42e6c9fef0c5a030248f6fe5178b10e238a4e31 Mon Sep 17 00:00:00 2001
From: finswimmer <finswimmer77@gmail.com>
Date: Wed, 17 Aug 2022 07:28:39 +0200
Subject: [PATCH 1/2] release: bump to version 1.2.0rc1

---
 CHANGELOG.md   | 39 ++++++++++++++++++++++++++++++++++++++-
 pyproject.toml |  2 +-
 2 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e79ef31953..783a0ed10a6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,41 @@
 # Change Log
 
+## [1.2.0rc1] - 2022-08-22
+
+### Added
+
+- Added support for subdirectories in git dependencies ([#5172](https://github.com/python-poetry/poetry/pull/5172))
+- Added support for yanked releases and files (PEP-592) ([#5841](https://github.com/python-poetry/poetry/pull/5841))
+- Virtual environments can now be created even with empty project name ([#5856](https://github.com/python-poetry/poetry/pull/5856))
+- Added support for `nushell` on `poetry shell` ([#6063](https://github.com/python-poetry/poetry/pull/6063))
+
+### Changed
+
+- Poetry now fallback to gather metadata for dependencies via pep517 if parsing `pyproject.toml` fail ([#5834](https://github.com/python-poetry/poetry/pull/5834))
+- Replaced Poetry's helper method `canonicalize_name()` by `packaging.utils.canonicalize_name()` ([#6022](https://github.com/python-poetry/poetry/pull/6022))
+- Removed code for the `export` command, which is now provided via plugin ([#6128](https://github.com/python-poetry/poetry/pull/6128))
+- Extras and extras dependencies are now sorted in lock file ([#6169](https://github.com/python-poetry/poetry/pull/6169))
+- Removed deprecated CLI options ([#6210](https://github.com/python-poetry/poetry/pull/6210))
+
+### Fixed
+
+- Fixed an issue where symlinks in lock file were not resolved ([#5850](https://github.com/python-poetry/poetry/pull/5850))
+- Fixed a `tomlkit` regression resulting in inconsistent line endings ([#5870](https://github.com/python-poetry/poetry/pull/5870))
+- Fixed an issue where `POETRY_PYPI_TOKEN_PYPI` environment variable wasn't picked up ([#5911](https://github.com/python-poetry/poetry/pull/5911))
+- Fixed an issue where neither Python nor created venv can be found, when using Python from MS Store ([#5931](https://github.com/python-poetry/poetry/pull/5931))
+- Improved error message of `poetry publish` in the event of an upload error ([#6043](https://github.com/python-poetry/poetry/pull/6043))
+- Fixed an issue where `poetry lock` fails without output ([#6058](https://github.com/python-poetry/poetry/pull/6058))
+- Fixed an issue where Windows drive mappings break virtual environment names ([#6110](https://github.com/python-poetry/poetry/pull/6110))
+- `tomlkit` versions with memory leak are now avoided ([#6160](https://github.com/python-poetry/poetry/pull/6160))
+- Fixed an infinite loop in the solver ([#6178](https://github.com/python-poetry/poetry/pull/6178))
+- Fixed an issue where latest version was used instead of locked one for vcs dependencies with extras ([#6185](https://github.com/python-poetry/poetry/pull/6185))
+
+### Docs
+
+- Documented the use of the `subdirectory` parameter ([#5949](https://github.com/python-poetry/poetry/pull/5949))
+- Documented `tox` config for different use cases ([#6026](https://github.com/python-poetry/poetry/pull/6026))
+
+
 ## [1.2.0b3] - 2022-07-13
 
 **Important**: This release fixes a critical issue that prevented hashes from being retrieved when locking dependencies,
@@ -1447,7 +1483,8 @@ Initial release
 
 
 
-[Unreleased]: https://github.com/python-poetry/poetry/compare/1.2.0b3...master
+[Unreleased]: https://github.com/python-poetry/poetry/compare/1.2.0rc1...master
+[1.2.0rc1]: https://github.com/python-poetry/poetry/releases/tag/1.2.0rc1
 [1.2.0b3]: https://github.com/python-poetry/poetry/releases/tag/1.2.0b3
 [1.2.0b2]: https://github.com/python-poetry/poetry/releases/tag/1.2.0b2
 [1.2.0b1]: https://github.com/python-poetry/poetry/releases/tag/1.2.0b1
diff --git a/pyproject.toml b/pyproject.toml
index d5c52d27c3f..7829c6e9612 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "poetry"
-version = "1.2.0rc1.dev0"
+version = "1.2.0rc1"
 description = "Python dependency management and packaging made easy."
 authors = [
     "Sébastien Eustace <sebastien@eustace.io>",

From df6f6e9be0300c62f2fdb76c6d511770a4df9a15 Mon Sep 17 00:00:00 2001
From: Bjorn Neergaard <bjorn@neersighted.com>
Date: Mon, 22 Aug 2022 16:22:47 -0600
Subject: [PATCH 2/2] Apply suggestions from code review

---
 CHANGELOG.md | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 783a0ed10a6..f9c57bfea87 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,23 +6,23 @@
 
 - Added support for subdirectories in git dependencies ([#5172](https://github.com/python-poetry/poetry/pull/5172))
 - Added support for yanked releases and files (PEP-592) ([#5841](https://github.com/python-poetry/poetry/pull/5841))
-- Virtual environments can now be created even with empty project name ([#5856](https://github.com/python-poetry/poetry/pull/5856))
-- Added support for `nushell` on `poetry shell` ([#6063](https://github.com/python-poetry/poetry/pull/6063))
+- Virtual environments can now be created even with empty project names ([#5856](https://github.com/python-poetry/poetry/pull/5856))
+- Added support for `nushell` in `poetry shell` ([#6063](https://github.com/python-poetry/poetry/pull/6063))
 
 ### Changed
 
-- Poetry now fallback to gather metadata for dependencies via pep517 if parsing `pyproject.toml` fail ([#5834](https://github.com/python-poetry/poetry/pull/5834))
-- Replaced Poetry's helper method `canonicalize_name()` by `packaging.utils.canonicalize_name()` ([#6022](https://github.com/python-poetry/poetry/pull/6022))
+- Poetry now falls back to gather metadata for dependencies via pep517 if parsing `pyproject.toml` fails ([#5834](https://github.com/python-poetry/poetry/pull/5834))
+- Replaced Poetry's helper method `canonicalize_name()` with `packaging.utils.canonicalize_name()` ([#6022](https://github.com/python-poetry/poetry/pull/6022))
 - Removed code for the `export` command, which is now provided via plugin ([#6128](https://github.com/python-poetry/poetry/pull/6128))
-- Extras and extras dependencies are now sorted in lock file ([#6169](https://github.com/python-poetry/poetry/pull/6169))
-- Removed deprecated CLI options ([#6210](https://github.com/python-poetry/poetry/pull/6210))
+- Extras and extras dependencies are now sorted in the lock file ([#6169](https://github.com/python-poetry/poetry/pull/6169))
+- Removed deprecated (1.2-only) CLI options ([#6210](https://github.com/python-poetry/poetry/pull/6210))
 
 ### Fixed
 
-- Fixed an issue where symlinks in lock file were not resolved ([#5850](https://github.com/python-poetry/poetry/pull/5850))
+- Fixed an issue where symlinks in the lock file were not resolved ([#5850](https://github.com/python-poetry/poetry/pull/5850))
 - Fixed a `tomlkit` regression resulting in inconsistent line endings ([#5870](https://github.com/python-poetry/poetry/pull/5870))
-- Fixed an issue where `POETRY_PYPI_TOKEN_PYPI` environment variable wasn't picked up ([#5911](https://github.com/python-poetry/poetry/pull/5911))
-- Fixed an issue where neither Python nor created venv can be found, when using Python from MS Store ([#5931](https://github.com/python-poetry/poetry/pull/5931))
+- Fixed an issue where the `POETRY_PYPI_TOKEN_PYPI` environment variable wasn't respected ([#5911](https://github.com/python-poetry/poetry/pull/5911))
+- Fixed an issue where neither Python nor a managed venv can be found, when using Python from MS Store ([#5931](https://github.com/python-poetry/poetry/pull/5931))
 - Improved error message of `poetry publish` in the event of an upload error ([#6043](https://github.com/python-poetry/poetry/pull/6043))
 - Fixed an issue where `poetry lock` fails without output ([#6058](https://github.com/python-poetry/poetry/pull/6058))
 - Fixed an issue where Windows drive mappings break virtual environment names ([#6110](https://github.com/python-poetry/poetry/pull/6110))
@@ -32,8 +32,8 @@
 
 ### Docs
 
-- Documented the use of the `subdirectory` parameter ([#5949](https://github.com/python-poetry/poetry/pull/5949))
-- Documented `tox` config for different use cases ([#6026](https://github.com/python-poetry/poetry/pull/6026))
+- Document use of the `subdirectory` parameter ([#5949](https://github.com/python-poetry/poetry/pull/5949))
+- Document suggested `tox` config for different use cases ([#6026](https://github.com/python-poetry/poetry/pull/6026))
 
 
 ## [1.2.0b3] - 2022-07-13