Py2deb

Latest version: v5.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 29

5.0

---------------------------

- Added support for :mod:`pkgutil` style namespace packages. This should be
considered experimental because it hasn't seen any real world use yet.

- Explicitly documented Python compatibility in the readme (see also `17`_,
`18`_, `27`_ and `31`_) to avoid more issues being reported about Python
3.8+ not being supported.

.. _Release 5.0: https://github.com/paylogic/py2deb/compare/4.0...5.0
.. _17: https://github.com/paylogic/py2deb/issues/17
.. _18: https://github.com/paylogic/py2deb/issues/18
.. _27: https://github.com/paylogic/py2deb/issues/27
.. _31: https://github.com/paylogic/py2deb/issues/31

4.0

---------------------------

.. note:: While I don't consider this a major release feature wise, the
major version number was bumped because this change is backwards
incompatible (although clearly an improvement).

Merged pull request `22`_ to stop :pypi:`py2deb` from normalizing "local
version labels" as defined by `PEP 440`_. One important thing to note is that
the "Debian revision" safe guard is applied after the "local version label" is
restored, which means the "local version label" may not be the final part of
the generated Debian version string.

.. _Release 4.0: https://github.com/paylogic/py2deb/compare/3.2...4.0
.. _22: https://github.com/paylogic/py2deb/pull/22
.. _PEP 440: https://www.python.org/dev/peps/pep-0440/

3.2

---------------------------

Merged pull request `25`_ which adds support for the ``$DEBFULLNAME`` and
``$DEBEMAIL`` environment variables to override package maintainer metadata.

.. _Release 3.2: https://github.com/paylogic/py2deb/compare/3.1...3.2
.. _25: https://github.com/paylogic/py2deb/pull/25

3.1

---------------------------

Merged pull request `20`_ which adds a ``Provides`` Debian control field for
converted packages that have "extras" encoded in their name.

One caveat to point out: ``Provides`` is a second-class citizen in the Debian
packaging ecosystem in the sense that it satisfies only *unversioned*
relationships.

Nevertheless this may prove useful, so it was merged 🙂.

.. _Release 3.1: https://github.com/paylogic/py2deb/compare/3.0.1...3.1
.. _20: https://github.com/paylogic/py2deb/pull/20

3.0.1

-----------------------------

3.0

---------------------------

.. note:: While I don't consider this a major release feature wise, the major
version number was bumped because of the compatibility changes
(dropping 2.6 and 3.4).

**Updated compatibility:**

- PyPy 3 is now officially supported (and tested on Travis CI). This was
triggered by pull requests `29`_ and `30`_.

- Python 2.6 and 3.4 are no longer supported (nor tested on Travis CI)
following the same change in my other 20+ open source Python projects
(some of which are requirements of :pypi:`py2deb`).

**Project maintenance:**

- Spent several days stabilizing the test suite on Travis CI, to avoid finding
myself in a situation where I'm releasing new features without the safety net
provided by a test suite that runs automatically and shouts loudly when
breakage is found 😇.

- Spent several days getting PyPy 3 testing to work on Travis CI, due to fatal
incompatibilities between the most recent release of :pypi:`pip` and PyPy 3.
For more then you ever wanted to know consult `these commits`_ and the
related Travis CI build failures (some of which are linked in commit
messages).

- Updated some imports to be compatible with :pypi:`humanfriendly` 8.0.

**Miscellaneous changes:**

- Merged pull request `21`_ which fixes a typo in the hooks module.

.. _Release 3.0: https://github.com/paylogic/py2deb/compare/2.3...3.0
.. _29: https://github.com/paylogic/py2deb/pull/29
.. _30: https://github.com/paylogic/py2deb/pull/30
.. _21: https://github.com/paylogic/py2deb/pull/21
.. _these commits: https://github.com/paylogic/py2deb/compare/4ab626b6582...affa7158560

Page 1 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.