Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 15, 2022

Bumps distro from 1.5.0 to 1.7.0.

Release notes

Sourced from distro's releases.

v1.7.0

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

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:

Changelog

Sourced from distro's changelog.

1.7.0 (2022.02.15)

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]

1.6.0 (2021.7.30)

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:

Commits
  • 697b2db Release 1.7.0
  • 2a89f76 [BREAKING] Exclude subprocess data sources when root_dir is specified
  • 8055ef4 Removes useless include_lsb=True parameter in tests
  • 526df13 Properly considers root_dir as a public attribute (including in doc)
  • abb3fee Removes subprocess.CalledProcessError from possible exceptions
  • 7733ba2 Add support for AIX (closes #241)
  • 91aa0df Removes unnecessary else..pass statement in os-release parsing
  • a08f31b Restores compatibility shim with platform.linux_distribution
  • 4d76bd1 Add py.typed file to package for PEP-561 compliance
  • b8590ec Specifies UTF-8 encoding when opening os-release/distro release files (#324)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [distro](https://github.com/python-distro/distro) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/python-distro/distro/releases)
- [Changelog](https://github.com/python-distro/distro/blob/master/CHANGELOG.md)
- [Commits](python-distro/distro@v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: distro
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 15, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 17, 2022

Superseded by #16.

@dependabot dependabot bot closed this Oct 17, 2022
@dependabot dependabot bot deleted the dependabot/pip/distro-1.7.0 branch October 17, 2022 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants