Skip to content

Releases: systemd/pystemd

v0.13.2

28 May 05:14
619fb8a
Compare
Choose a tag to compare
Merge pull request #86 from aleivag/allpyi

selecting all .pyi files

0.13.1

17 May 03:55
53662f0
Compare
Choose a tag to compare

fix setup.py

v0.13.0

18 Apr 16:04
961e61f
Compare
Choose a tag to compare
  • adding coverage information
  • changes tests to pystes
  • adding support for pyproject.toml
  • adding extra properties for unit

v0.12.0

05 Apr 05:32
7f55181
Compare
Choose a tag to compare
Merge pull request #79 from aleivag/addlibsystemd

adding libsystemd to release pipeline

v.0.11.0

06 Dec 01:19
Compare
Choose a tag to compare
  • native support for stop_cmd, (pre|post)_start_cmd and post_stop_cmd in pystemd.run.
  • adding lxml as a dependency.
  • drop support for python 3.4 and 3.5 (yey welcome f-strings)
  • change using select.select to use DefaultSelector in pystemd.run

v.0.10.0

19 Oct 23:45
Compare
Choose a tag to compare

support for interactive auth

v.0.9.0

07 Jul 20:22
Compare
Choose a tag to compare

add initial support for Python 3.9
include .pxd and .pxi files in the source distribution

v.0.8

29 Sep 16:59
Compare
Choose a tag to compare

add initial support for python 3.7 and 3.8
added options StandardOutputFile, StandardOutputFileToAppend, StandardErrorFile and StandardErrorFileToAppend to known unit signatures.
Added type stubs for pystemd.daemon, pystemd.dbuslib, pystemd.systemd1.Unit and pystemd.systemd1.Manager because we still "support python 3.4.
fix issue when char is unsigned, and <char *> -1 returns 255.
added slice_ option to pystemd.run to specify the cgroup where the unit is created.

v0.7

08 Dec 02:53
Compare
Choose a tag to compare
Include .pyx files in source distribution (#35)

Summary:
This commit adds .pyx files in MANIFEST.in, thus includes Cython files
in pystemd source distribution (sdist).

The rationale behind this change is based on the following:

- Cython documentation [1] suggests distributing "the generated .c
  files as well as your Cython sources so that users can install your
  module without needing to have Cython available." Distributing .c
  files should be considered a helpful addition to the source
  distribution, they do not actually replace the .pyx files.
- Including .pyx files in source distribution is in accordance with
  LGPL 2.1 terms [2] reading: "Source code" for a work means the
  preferred form of the work for making modifications to it.
- Including .pyx files in sdist is especially important for Debian
  packaging where we need to be sure all binaries are able to be built
  reproducibly from their source.

Additionally, current commit restructures setup.py external_modules by
inversing their logic: if no pystemd/*.c files are found then cythonize
is called on .pyx files. Both file types which will be anyway included
in sdist.

[1]https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#distributing-cython-modules
[2]https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
Pull Request resolved: https://github.com/facebookincubator/pystemd/pull/35

Differential Revision: D17283090

Pulled By: aleivag

fbshipit-source-id: cce431d7e24587d3c6c69bf32c3857103da451e5

v0.6

15 Mar 02:40
Compare
Choose a tag to compare
  • Improve in-repo docs.
  • changed license from BSD to LGPL-2.1+.
  • Raise DBusInterruptedError instead of DBusBaseError when a system call is interrupted.
  • expose sd_bus_match_signal as Dbus.match_signal for easy monitoring of the bus.
  • Drop python 2 support and six requirement.
  • Auto convert Path object to bytes so that can be passed to dbus.
  • Add service_type to pystemd.run for easy Type selection.
  • Many new DBus properties.
  • access interface methods and properties directly.
  • systemd1.Manager.StartTransientUnit now support extra units, allowing users to also create timer/path transient units.
  • pystemd.run now waits for start unit job to finish, before even thinking in tearing down the unit (and closing pty's)