Proc

Latest version: v1.0

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

Scan your dependencies

Page 1 of 6

1.0

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

- Merged `pull request 2`_ which enables Python 3.7+ compatibility by changing
the :pypi:`executor` integration to stop using the old ``async`` option and
start using the new ``asynchronous`` option (given that :keyword:`async`
became a keyword in Python 3.7).

- Updated Python compatibility:

- Python 3.6, 3.7 and 3.8 are now tested and supported.
- Python 2.6 and 3.4 are no longer supported.

- Defined ``__all__`` for existing Python modules.

- Fixed :pypi:`humanfriendly` deprecation warnings and bumped dependencies that
went through the same process.

- Fixed all :pypi:`Sphinx` broken references and configured Sphinx to report
broken references as errors instead of warnings (to prevent broken references
from piling up in the future).

- Various Travis CI fixes that didn't affect published code.

.. _Release 1.0: https://github.com/xolox/python-proc/compare/0.17...1.0
.. _pull request 2: https://github.com/xolox/python-proc/pull/2

0.17

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

Added ``with-gui-environment`` program (a generalization of ``notify-send-headless``).

.. _Release 0.17: https://github.com/xolox/python-proc/compare/0.16...0.17

0.16

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

Expose the value of ``/proc/[pid]/cwd`` on :class:`.Process` objects as the new
:attr:`.Process.cwd` property.

.. _Release 0.16: https://github.com/xolox/python-proc/compare/0.15...0.16

0.15

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

- Changes related to the :mod:`proc.gpg` module and the ``with-gpg-agent`` program:

- Use existing ``$GPG_AGENT_INFO`` values when available and validated.
- Let the operator know when starting a new GPG agent daemon (through logging).
- Check if :man:`gpg-agent`` is installed before trying to run ``gpg-agent --daemon``.
- Added support for GPG agent sockets in ``/run/user/$UID`` (GnuPG >= 2.1.13).

- This incompatibility came to light when I upgraded my laptop from Ubuntu
16.04 to 18.04.

- Fixed hanging Travis CI builds caused by ``gpg-agent --daemon`` not
detaching properly when the standard error stream is redirected.

- This incompatibility was exposed by Travis CI switching from Ubuntu 12.04
to 14.04.

- Fixed race condition in :func:`.find_gpg_agent_info()` raising
:exc:`~exceptions.AttributeError`.

- Changes related to the documentation:

- Added this change log to the documentation (with a link in the readme).
- Integrated the :mod:`property_manager.sphinx` module (to generate
boilerplate documentation).
- Fixed intersphinx mapping in documentation configuration.
- Changed HTML theme from `default` to `nature` (a wide layout).
- Include documentation in source distributions (``MANIFEST.in``).

- And then some miscellaneous changes:

- Fixed Apache WSGI configuration on Travis CI.

- This test suite incompatibility was exposed by Travis CI switching from
Ubuntu 12.04 to 14.04.

- Restored Python 2.6 compatibility in the test suite (concerning
:pypi:`pytest` version).
- Added license=MIT key to ``setup.py`` script.
- Bumped the copyright to 2018.

.. _Release 0.15: https://github.com/xolox/python-proc/compare/0.14...0.15

0.14

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

Swallow exceptions in the :func:`.notify_desktop()` function.

This change is technically backwards incompatible but I consider it the more
sane behavior; I had just simply never seen ``notify-send`` fail until the
failure which prompted this release 😇.

.. _Release 0.14: https://github.com/xolox/python-proc/compare/0.13...0.14

0.13

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

- Provide proper compatibility with GnuPG >= 2.1 which uses the fixed
location ``~/.gnupg/S.gpg-agent`` for the agent socket.
- Bug fix for systemd incompatibility in test suite.
- Moved test helpers to the :mod:`humanfriendly.testing` module.

.. _Release 0.13: https://github.com/xolox/python-proc/compare/0.12...0.13

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.