Releases: python-poetry/poetry
Releases · python-poetry/poetry
1.0.1
Fixed
- Fixed an error in
env use
where the wrong Python executable was being used to check compatibility (#1736). - Fixed an error where VCS dependencies were not properly categorized as development dependencies (#1725).
- Fixed an error where some shells would no longer be usable after using the
shell
command (#1673). - Fixed an error where explicitly included files where not included in wheel distributions (#1750).
- Fixed an error where some Git dependencies url were not properly parsed (#1756).
- Fixed an error in the
env
commands on Windows if the path to the executable contained a space (#1774). - Fixed several errors and UX issues caused by
keyring
on some systems (#1788). - Fixed errors when trying to detect installed packages (#1786).
- Fixed an error when packaging projects where Python packages were not properly detected (#1592).
- Fixed an error where local file dependencies were exported as editable when using the
export
command (#1840). - Fixed the way environment markers are propagated and evaluated when resolving dependencies (#1829, #1789).
- Fixed an error in the PEP-508 compliant representation of directory and file dependencies (#1796).
- Fixed an error where invalid virtual environments would be silently used. They will not be recreated and a warning will be displayed (#1797).
- Fixed an error where dependencies were not properly detected when reading the
setup.py
file in some cases (#1764).
1.0.0
Added
- Added an
export
command to export the lock file to other formats (onlyrequirements.txt
is currently supported). - Added a
env info
command to get basic information about the current environment. - Added a
env use
command to control the Python version used by the project. - Added a
env list
command to list the virtualenvs associated with the current project. - Added a
env remove
command to delete virtualenvs associated with the current project. - Added support for
POETRY_HOME
declaration withinget-poetry.py
. - Added support for declaring a specific source for dependencies.
- Added support for disabling PyPI and making another repository the default one.
- Added support for declaring private repositories as secondary.
- Added the ability to specify packages on a per-format basis.
- Added support for custom urls in metadata.
- Full environment markers are now supported for dependencies via the
markers
property. - Added the ability to specify git dependencies directly in
add
, it no longer requires the--git
option. - Added the ability to specify path dependencies directly in
add
, it no longer requires the--path
option. - Added support for url dependencies (#1260).
- Publishing to PyPI using API tokens is now supported (#1275).
- Licenses can now be identified by their full name.
- Added support for custom certificate authority and client certificates for private repositories.
- Poetry can now detect and use Conda environments.
Changed
- Slightly changed the lock file, making it potentially incompatible with previous Poetry versions.
- The
cache:clear
command has been renamed tocache clear
. - The
debug:info
command has been renamed todebug info
. - The
debug:resolve
command has been renamed todebug resolve
. - The
self:update
command has been renamed toself update
. - Changed the way virtualenvs are stored (names now depend on the project's path).
- The
--git
option of theadd
command has been removed. - The
--path
option of theadd
command has been removed. - The
add
command will now automatically select the latest prerelease if only prereleases are available. - The
add
command can now update a dependencies if an explicit constraint is given (#1221). - Removed the
--develop
option from theinstall
command. - Improved UX when searching for packages in the
init
command. - The
shell
command has been improved. - The
poetry run
command now usesos.execvp()
rather than spawning a new subprocess. - Specifying dependencies with
allows-prereleases
in thepyproject.toml
file is deprecated for consistency with theadd
command. Useallow-prereleases
instead. - Improved the error message when the lock file is invalid.
- Whenever Poetry needs to use the "system" Python, it will now call
sys.executable
instead of thepython
command. - Improved the error message displayed on conflicting Python requirements (#1681).
- Improved the
site-packages
directory detection (#1683).
Fixed
- Fixed transitive extra dependencies being removed when updating a specific dependency.
- The
pyproject.toml
configuration is now properly validated. - Fixed installing Poetry-based packages breaking with
pip
. - Fixed packages with empty markers being added to the lock file.
- Fixed invalid lock file generation in some cases.
- Fixed local version identifier handling in wheel file names.
- Fixed packages with invalid metadata triggering an error instead of being skipped.
- Fixed the generation of invalid lock files in some cases.
- Git dependencies are now properly locked to a specific revision when specifying a branch or a tag.
- Fixed the behavior of the
~=
operator. - Fixed dependency resolution for conditional development dependencies.
- Fixed generated dependency constraints when they contain inequality operators.
- The
run
command now properly handles the--
separator. - Fixed some issues with
path
dependencies being seen asgit
dependencies. - Fixed various issues with the way
extra
markers in dependencies were handled. - Fixed the option conflicts in the
run
command. - Fixed wrong latest version being displayed when executing
show -l
. - Fixed
TooManyRedirects
errors being raised when resolving dependencies. - Fixed custom indices dependencies being constantly updated.
- Fixed the behavior of the
--install
option of the debug resolve command. - Fixed an error in
show
when using the-o/--outdated
option. - Fixed PEP 508 url dependency handling.
- Fixed excluded files via the
exclude
being included in distributions. - Fixed an error in
env use
if thevirtualenvs.in-project
setting is activated (#1682) - Fixed handling of
empty
andany
markers in unions of markers (#1650).
1.0.0b9
1.0.0b8
Fixed
- Fixed source references not being locked for private indices
1.0.0b7
Fixed
- Fixed PEP 508 url dependency handling.
- Fixed excluded files via the
exclude
being included in distributions. - Fixed duplicated indices when exporting a
requirement.txt
file.
1.0.0b6
Changed
- Improved the error message when the lock file is invalid
- Simplified output for
poetry version
- Made installation text more clear on dependencies
- Whenever Poetry needs to use the "system" Python, it will now call
sys.executable
instead of thepython
command.
Fixed
- Fixed
importlib-metadata
being installed for Python 3.8 - Fixed an error in
show
when using the-o/--outdated
option.
1.0.0b5
Fixed
- Fixed wrong latest version being displayed when executing
show -l
. - Fixed
TooManyRedirects
errors being raised when resolving dependencies. - Fixed custom indices dependencies being constantly updated.
- Fixed the behavior of the
--install
option of the debug resolve command. - Fixed a recursion error for duplicate constraints with only extras.
- Fixed an invalid git url error when solving with installed and locked git dependencies.
- Fixed support for egg files in InstalledRepository.
1.0.0b4
Changed
- Specifying dependencies with
allows-prereleases
in thepyproject.toml
file is deprecated for consistency with theadd
command. Useallow-prereleases
instead.
Fixed
- Fixed some issues with
path
dependencies being seen asgit
dependencies. - Fixed various issues with the way
extra
markers in dependencies were handled. - Fixed the option conflicts in the
run
command.
1.0.0b3
Added
- Added support for support for custom certificate authority and client certificates for private repositories.
- Poetry can now detect and use Conda environments.
Fixed
- Fixed the behavior of the
~=
operator. - Fixed dependency resolution for conditional development dependencies.
- Fixed generated dependency constraints when they contain inequality operators.
- The
run
command now properly handles the--
separator.
1.0.0b2
Changed
- Improved files metadata in lock files
- Improved UX when searching for packages in the
init
command. - The
shell
has been improved. - The
poetry run
command now usesos.execvp()
rather than spawning a new subprocess.
Fixed
- Fixed local version identifier handling in wheel file names.
- Fixed packages with invalid metadata triggering an error instead of being skipped.
- Fixed the generation of invalid lock files in some cases.
- Git dependencies are now properly locked to a specific revision when specifying a branch or a tag.