Releases: systemd/pystemd
Releases · systemd/pystemd
v0.13.2
0.13.1
v0.13.0
v0.12.0
v.0.11.0
v.0.10.0
v.0.9.0
v.0.8
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
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
- 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)