Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Jan 15, 2024

This PR contains the following updates:

Package Change Age Confidence
distro ==1.4.0==1.9.0 age confidence

Release Notes

python-distro/distro (distro)

v1.9.0

Compare Source

ENHANCEMENTS:

  • Refactor distro.info() method to return an InfoDict [#​360]
  • Ignore the file '/etc/board-release' [#​353]
  • Ignore the file '/etc/ec2_version' [#​359]

RELEASE:

  • Run Python 3.6 on Ubuntu 20.04 for CI and bump isort [#​355]

TESTS:

  • Test on modern versions of CPython and PyPy and macOS [#​362]
  • Add support for ALT Linux Server 10.1 distribution [#​354]
  • Add Debian Testing to the tests [#​356]
  • Update archlinux resource for tests [#​352]

v1.8.0

Compare Source

BACKWARD COMPATIBILITY:

  • Replace setup.py with build [#​342]

ENHANCEMENTS:

  • Lowered LinuxDistribution._distro_release_info method complexity [#​327]
  • Added official support for Buildroot distribution [#​329]
  • Added official support for Guix distribution [#​330]
  • Added support for /etc/debian_version [#​333] & [#​349]
  • Fixed a typography in CONTRIBUTING.md [#​340]
  • Improved README.md "Usage" code block [#​343]

RELEASE:

  • Bumped black to v22.3.0 in pre-commit.ci configuration [#​331]
  • Enabled GitHub Dependabot to keep GitHub Actions up to date [#​335]

v1.7.0

Compare Source

BACKWARD COMPATIBILITY:

  • Dropped support for EOL Pythons 2.7, 3.4 and 3.5 [#​281]
  • Dropped support for LSB and uname back-ends when --root-dir is specified [#​311]
  • Moved distro.py to src/distro/distro.py [#​315]

ENHANCEMENTS:

  • Documented that distro.version() can return an empty string on rolling releases [#​312]
  • Documented support for Python 3.10 [#​316]
  • Added official support for Rocky Linux distribution [#​318]
  • Added a shebang to distro.py to allow standalone execution [#​313]
  • Added support for AIX platforms [#​311]
  • Added compliance for PEP-561 [#​315]

BUG FIXES:

  • Fixed include_uname parameter oversight [#​305]
  • Fixed crash when uname -rs output is empty [#​304]
  • Fixed Amazon Linux identifier in distro.id() documentation [#​318]
  • Fixed OpenSuse >= 15 support [#​319]
  • Fixed encoding issues when opening distro release files [#​324]
  • Fixed linux_distribution regression introduced in [#​230] [#​325]

v1.6.0

Compare Source

BACKWARDS COMPATIBILITY:

  • Deprecated the distro.linux_distribution() function. Use
    distro.id(), distro.version() and distro.name() instead
    [#​296]
  • Deprecated Python 2.7, 3.4 and 3.5 support. Further releases
    will only support Python 3.6+

ENHANCEMENTS:

  • Added type hints to distro module [#​269]
  • Added __version__ for checking distro version [#​292]
  • Added support for arbitrary rootfs via the root_dir parameter [#​247]
  • Added the --root-dir option to CLI [#​161]
  • Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#​262]

BUG FIXES:

  • Fixed subprocess.CalledProcessError when running lsb_release [#​261]
  • Ignore /etc/iredmail-release file while parsing distribution [#​268]
  • Use a binary file for /dev/null to avoid TextIOWrapper overhead [#​271]

RELEASE:

v1.5.0

Compare Source

BACKWARD COMPATIBILITY:

  • Keep output as native string so we can compatible with python2 interface [#​248]

ENHANCEMENTS:

BUG FIXES:

  • Fix detection of RHEL 6 ComputeNode [#​255]
  • Fix Oracle 4/5 lsb_release id and names [#​250]
  • Ignore /etc/plesk-release file while parsing distribution [#​246]

TESTS:

RELEASE:

  • Remove build testing on Python 3.3 and add pypy 3.5 and Python 3.7 and 3.8 [#​244]
  • Fix Windows build due to Appveyor not supporting builds on Python 2.7 anymore [#​257]

Additionally, The Python2.6 branch was fixed to support distro version 1.4.0. It is now passing all tests. Thanks abadger!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/distro-1.x branch 3 times, most recently from b2b7857 to ac5ddf1 Compare January 15, 2024 15:52
@renovate renovate bot force-pushed the renovate/distro-1.x branch from ac5ddf1 to 1ab42f5 Compare August 10, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants