Skip to content

Releases: dcantrell/pyparted

pyparted-3.13.0

21 Jun 17:17
v3.13.0
Compare
Choose a tag to compare
  • Help the _ped module garbage collection in the test suite (dcantrell)
  • Use 'return NULL' rather than 'return (PyObject *) NULL' in pydisk.c
    (dcantrell)
  • Use Py_VISIT() in *_traverse() functions (dcantrell)
  • Free allocated memory for temporary string buffers (dcantrell)
  • Use Py_RETURN_NONE through the _ped module code (dcantrell)
  • Coding style updates for the C code. (dcantrell)
  • Some minor cleanups for the test case code (dcantrell)
  • Remove DeprecationWarning in py_ped_constraint_duplicate() (dcantrell)
  • Drop remaining Python 2.x handling from the Makefile (dcantrell)
  • drop six (pgajdos)
  • Reformat all Python source code using Python black (dcantrell)
  • Update the AUTHORS file (dcantrell)
  • Replace outdated Red Hat sample GPLv2+ boilerplates (dcantrell)
  • Add support for loongarch (mahailiang)
  • tests: Add PARTITION_LINUX_HOME to flag tests (bcl)
  • Add support for no_automount partition flag (bcl)
  • Add new disk types - disk uuid and partition uuid (bcl)
  • tests: Remove feature values from DiskTypeStrTestCase (bcl)
  • Add tests for high level partition type ID / UUID (berrange)
  • Add tests for low level partition type ID / UUID (berrange)
  • Add test base class helper for re-opening the device (berrange)
  • Add test base class for GPT partitions (berrange)
  • Fix start sector for test partition (berrange)
  • Add example for viewing and changing GPT partition type UUID (berrange)
  • Accept device path via argv for partition dump example (berrange)
  • Add type ID / UUID to partition dump example (berrange)
  • Map partition type ID / UUID accessors to Partition class (berrange)
  • Bind low level APIs for type ID and UUID accessors (berrange)
  • tests: Remove DeviceFreeAllTestCase (bcl)
  • Add support for new libparted disk type features in parted-3.5 (dcantrell)
  • Small Makefile updates (dcantrell)
  • Remove .travis.yml file (dcantrell)
  • Rename COPYING to LICENSE (dcantrell)
  • A few minor updates to README.md (dcantrell)
  • Change README to README.md (dcantrell)

pyparted-3.12.0

07 Mar 19:18
v3.12.0
Compare
Choose a tag to compare
  • Adjust how PED_PARTITION types are added to _ped
  • Add support for PARTITION_LINUX_HOME
  • Actually, install 'six' using pip
  • Do not use pip to install test dependencies
  • Update GitHub Actions test to latest Fedora image
  • Add units, devices, and partitions convenience dicts
  • Update version number and required libparted version
  • Correct PARTITION_* constant initialization
  • setup.py: port to setuptools
  • Fix some errors found by covscan while building on RHEL-8
  • Add initial Github Actions CI support

pyparted-3.11.7

23 Oct 19:49
v3.11.7
Compare
Choose a tag to compare
  • Set PY_SSIZE_T_CLEAN for the build (bcl)
  • add nvme support
  • Update RELEASE file to make last step be "make pypi" (dcantrell)

pyparted-3.11.6

11 Mar 14:00
v3.11.6
Compare
Choose a tag to compare
  • Use preprocessor for the _ped module and what constants to include.
    (dcantrell)
  • Reduce libparted requirement to 3.2 (dcantrell)
  • Update the pypi target in the Makefile (dcantrell)
  • Reduce minimum Python required to 3.5 (dcantrell)

pyparted-3.11.5

09 Mar 17:02
v3.11.5
Compare
Choose a tag to compare

Fixes for parted-3.3 and gcc 10:

  • Require at least libparted 3.3 and python 3.7
  • pedmodule.c: Fix partition enum flag handling
  • Add support for chromeos_kernel and bls_boot partition flags
  • Move exception declarations to _pedmodule.c

If you are still interested in using pyparted with Python 2.x, please let me know. I am currently only focused on Python 3.x support. I am not opposed to keeping support for Python 2.x, but I need to know who uses it and ideally people to send patches to keep it working.

pyparted-3.11.4

11 Feb 15:15
v3.11.4
Compare
Choose a tag to compare

Bugs fixed in this release:

  • Use Decimal for Device.getSize() operations, return a float (#1801355)
  • Update the 'twine upload' line in the Makefile
  • Don't intentionally prohibit Python 2 usage (#67)
  • mips64 support (Doorer [email protected])

pyparted-3.11.3

15 Nov 14:11
Compare
Choose a tag to compare

Many bug fixes in this release:

  • 'from collections' -> 'from collections.abc' (BZ#1772060)
  • Add some more examples
  • Small correction to the PED_EXCEPTION_FIX handling. (#61)
  • Restore returning None for get_name() on Partition objects. (#59)
  • Handle PED_EXCEPTION_FIX (Fix/Ignore) exceptions (#61)
  • check for undefined flags
  • fixed typo
  • removed ifdefs
  • added support for newer pyparted versions
  • Support pypi.python.org for releases (#37)
  • Forgot the "/" in the path name (#47)
  • Remove assumption that temp devices get created in /tmp (#47)
  • Adjust test case numbers for GeometryWriteTestCase again
  • Revert "Use copy.deepcopy() rather than .duplicate()"
  • Remove another unnecessary os.close() from baseclass.py
  • Remove rogue close() call in baseclass.py
  • Ignore the 'const' and just use these values as 'char *'
  • Use copy.deepcopy() rather than .duplicate()
  • More file descriptor close statements.
  • Fixes for the RequiresDeviceNode class
  • Use a smaller length for GeometryWriteTestCase()
  • Close the RequiresDeviceNode file descriptor before removal.
  • Fix writing NULL sectors using a Geometry object() (#54)
  • Use Decimal() instead of float() in some operations (#57)
  • Fix reference to fedorahosted.org in README (#52)
  • Check for PartedException for upper disk and partition get flag ops.
  • Only define PARTITION_ESP if libparted provides PED_PARTITION_ESP
  • Only define PARTITION_IRST if libparted provides PED_PARTITION_IRST
  • I did not remember, Debian spells it "libparted-dev".
  • Adjust .travis.yml file.
  • Add Travis-CI configuration file.
  • Add support for RISC-V
  • Typo fix: mimimum -> minimum
  • Replace 'iff' with 'if and only if' in pynatmath.h.
  • Fix a type for the get_max_primary_partition_count() doc string.
  • Remove *_LAST_FLAG checks

pyparted-3.11.2

01 Feb 18:52
Compare
Choose a tag to compare
  • pyparted-3.11.2 (david.l.cantrell)
  • Do not remove the generated tarballs. (david.l.cantrell)
  • Update the RELEASE file. (david.l.cantrell)
  • tests: Fix flag_get_name tests (bcl)
  • Avoid potential NULL dereferences in pydisk.c and pytimer.c (david.l.cantrell)
  • New - example to query device capacity (jflorian)
  • correct spelling mistake (edward)
  • _ped's *_flag_get_name methods now throw a PartedException instead of ValueError on unsupported flags. (lukasz.zemczak)
  • Make the partition name a property on parted.Partition objects (#34) (david.l.cantrell)