Skip to content

Commit

Permalink
Fixed an issue when pio package unpublish command crashes // Resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Sep 9, 2020
1 parent 429f416 commit cd59c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PlatformIO Core 5

- Fixed an issue when using a custom git/ssh package with `platform_packages <https://docs.platformio.org/page/projectconf/section_env_platform.html#platform-packages>`__ option (`issue #3624 <https://github.com/platformio/platformio-core/issues/3624>`_)
- Fixed an issue with "ImportError: cannot import name '_get_backend' from 'cryptography.hazmat.backends'" when using `Remote Development <https://docs.platformio.org/page/plus/pio-remote.html>`__ on RaspberryPi device (`issue #3652 <https://github.com/platformio/platformio-core/issues/3652>`_)
- Fixed an issue when `pio package unpublish <https://docs.platformio.org/page/core/userguide/package/cmd_unpublish.html>`__ command crashes (`issue #3660 <https://github.com/platformio/platformio-core/issues/3660>`_)

5.0.0 (2020-09-03)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion platformio/commands/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def package_unpublish(package, type, undo): # pylint: disable=redefined-builtin
type=type,
name=spec.name,
owner=spec.owner,
version=spec.requirements,
version=str(spec.requirements),
undo=undo,
)
click.secho(response.get("message"), fg="green")

0 comments on commit cd59c82

Please sign in to comment.