diff --git a/CHANGELOG.md b/CHANGELOG.md index 63b037cf3f8..036f1777b41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,51 @@ # Change Log +## [1.2.0b1] - 2022-03-06 + +### 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)). + +### 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 diff --git a/poetry.lock b/poetry.lock index 215ee785b6a..3c0a674ebfa 100644 --- a/poetry.lock +++ b/poetry.lock @@ -390,11 +390,11 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "poetry-core" -version = "1.1.0a6" +version = "1.1.0a7" description = "Poetry PEP 517 Build Backend" category = "main" optional = false -python-versions = ">=3.6,<4.0" +python-versions = ">=3.7,<4.0" [package.dependencies] importlib-metadata = {version = ">=1.7.0", markers = "python_version < \"3.8\""} @@ -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 = "ee070bcaa75bcf0220747f45910af68dc170973396cb5d70368ae42d35279b3b" +content-hash = "e1979eb8cccef74af26d7fc01bb77d64515a2633fdb28bdbc2837da52fb24b98" [metadata.files] atomicwrites = [ @@ -985,8 +985,8 @@ pluggy = [ {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, ] poetry-core = [ - {file = "poetry-core-1.1.0a6.tar.gz", hash = "sha256:e22c8897216216f6344b3d57167a8cd5485a1403934817d7efaf7fb8f6bcffc9"}, - {file = "poetry_core-1.1.0a6-py3-none-any.whl", hash = "sha256:4093226d89e1b79f16c917fba766461c01b184d3184d7cad4b7be8426c0cb4be"}, + {file = "poetry-core-1.1.0a7.tar.gz", hash = "sha256:4622ae680842ac9b1b9c3b0e8dc467c2e291d1a5c434b6bd413907a2e5571d92"}, + {file = "poetry_core-1.1.0a7-py3-none-any.whl", hash = "sha256:724e8b5368f270461e622396305d0c2e760ec9d4c14d072e6b944da9384c67de"}, ] pre-commit = [ {file = "pre_commit-2.17.0-py2.py3-none-any.whl", hash = "sha256:725fa7459782d7bec5ead072810e47351de01709be838c2ce1726b9591dad616"}, diff --git a/pyproject.toml b/pyproject.toml index 524ba28c6e1..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 " @@ -34,7 +34,7 @@ generate-setup-file = false [tool.poetry.dependencies] python = "^3.7" -poetry-core = "^1.1.0a6" +poetry-core = "^1.1.0a7" cachecontrol = { version = "^0.12.9", extras = ["filecache"] } cachy = "^0.3.0" cleo = "^1.0.0a4" diff --git a/src/poetry/__version__.py b/src/poetry/__version__.py index f912eb6596b..0562b808ac4 100644 --- a/src/poetry/__version__.py +++ b/src/poetry/__version__.py @@ -1,4 +1,4 @@ from __future__ import annotations -__version__ = "1.2.0a2" +__version__ = "1.2.0b1"