41 Commits

Author SHA256 Message Date
Ana Guerrero
9190c546eb Accepting request 1149664 from devel:languages:python
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/request/show/1149664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=21
2024-02-25 13:04:43 +00:00
Ana Guerrero
184064992d Accepting request 1135231 from devel:languages:python
- update to 1.9.0:
  * Refactor distro.info() method to return an InfoDict [#360]
  * Ignore the file '/etc/board-release' [#353]
  * Ignore the file '/etc/ec2_version' [#359]
  * 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]

- Enable tests properly (this is pytest, not unittest),

OBS-URL: https://build.opensuse.org/request/show/1135231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=20
2023-12-28 21:54:26 +00:00
OBS User buildservice-autocommit
4faffc0c3f Updating link to change in openSUSE:Factory/python-distro revision 20
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=f761ba29c92393c047cf5662e2dc4c0b
2023-12-28 21:54:26 +00:00
Ana Guerrero
8f276e02b9 Accepting request 1112048 from devel:languages:python
- Remove duplicate files calling %fdupes

OBS-URL: https://build.opensuse.org/request/show/1112048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=19
2023-09-22 19:46:54 +00:00
OBS User buildservice-autocommit
01819610e6 Updating link to change in openSUSE:Factory/python-distro revision 19
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=f9efd26bb1186e05f873d1c6332e6513
2023-09-22 19:46:54 +00:00
de040294a9 Accepting request 1085107 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=18
2023-05-09 11:06:49 +00:00
2734197911 Accepting request 1085077 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085077
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=30
2023-05-05 12:37:11 +00:00
572f091c63 Accepting request 1046109 from devel:languages:python
- update to 1.8.0:
  * 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]
  * Bumped black to v22.3.0 in pre-commit.ci configuration [#331]
  * Enabled GitHub Dependabot to keep GitHub Actions up to date [#335]

OBS-URL: https://build.opensuse.org/request/show/1046109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=17
2023-01-03 14:04:35 +00:00
OBS User buildservice-autocommit
0fec486ee1 Updating link to change in openSUSE:Factory/python-distro revision 17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=34d9d2518b5ef9c78a492780d9b775f7
2023-01-03 14:04:35 +00:00
480dd55110 Accepting request 955104 from devel:languages:python
- remove shebang from distro.py
- update to version 1.7.0:
 - BACKWARD COMPATIBILITY:
 - Dropped support for EOL Pythons 2.7, 3.4 and 3.5 [[#281](https://github.com/python-distro/distro/pull/281)]
 - Dropped support for LSB and `uname` back-ends when `--root-dir` is specified [[#311](https://github.com/python-distro/distro/pull/311)]
 - Moved `distro.py` to `src/distro/distro.py` [[#315](https://github.com/python-distro/distro/pull/315)]
 - ENHANCEMENTS:
 - Documented that `distro.version()` can return an empty string on rolling releases [[#312](https://github.com/python-distro/distro/pull/312)]
 - Documented support for Python 3.10 [[#316](https://github.com/python-distro/distro/pull/316)]
 - Added official support for Rocky Linux distribution [[#318](https://github.com/python-distro/distro/pull/318)]
 - Added a shebang to `distro.py` to allow standalone execution [[#313](https://github.com/python-distro/distro/pull/313)]
 - Added support for AIX platforms [[#311](https://github.com/python-distro/distro/pull/311)]
 - Added compliance for PEP-561 [[#315](https://github.com/python-distro/distro/pull/315)]
 - BUG FIXES:
 - Fixed `include_uname` parameter oversight [[#305](https://github.com/python-distro/distro/pull/305)]
 - Fixed crash when `uname -rs` output is empty [[#304](https://github.com/python-distro/distro/pull/304)]
 - Fixed Amazon Linux identifier in `distro.id()` documentation [[#318](https://github.com/python-distro/distro/pull/318)]
 - Fixed OpenSuse >= 15 support [[#319](https://github.com/python-distro/distro/pull/319)]
 - Fixed encoding issues when opening distro release files [[#324](https://github.com/python-distro/distro/pull/324)]
 - Fixed `linux_distribution` regression introduced in [[#230](https://github.com/python-distro/distro/pull/230)] [[#325](https://github.com/python-distro/distro/pull/325)]

OBS-URL: https://build.opensuse.org/request/show/955104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=16
2022-02-16 23:30:16 +00:00
OBS User buildservice-autocommit
ae4326d191 Updating link to change in openSUSE:Factory/python-distro revision 16
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=c1f19e2b0f28e64e21e8e848e6d3a0b7
2022-02-16 23:30:16 +00:00
adc6e4352b Accepting request 933995 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/933995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=15
2021-11-29 16:28:16 +00:00
OBS User buildservice-autocommit
dcb6a33290 Updating link to change in openSUSE:Factory/python-distro revision 15.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=bc2e29cf1a2953b2b2933c9995e001ce
2021-11-29 16:28:16 +00:00
a80687f3fd Accepting request 922877 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/922877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=14
2021-10-20 18:23:13 +00:00
OBS User buildservice-autocommit
cf790fca0b Updating link to change in openSUSE:Factory/python-distro revision 14.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=cb66984ceaa99244721246cad1fb0638
2021-10-20 18:23:13 +00:00
Richard Brown
099f91bc7b Accepting request 910435 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/910435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=13
2021-08-11 09:47:01 +00:00
009ed7d97d Accepting request 910038 from home:brejoc:branches:devel:languages:python
- Update to version 1.6.0
  * 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+
  * 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]
  * 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]

OBS-URL: https://build.opensuse.org/request/show/910038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=25
2021-08-06 07:11:14 +00:00
e5b65141ad Accepting request 894049 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/894049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=12
2021-05-20 17:24:41 +00:00
051fa3fd29 Accepting request 894039 from home:pgajdos:python
- use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/894039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=24
2021-05-18 12:23:07 +00:00
2d9d2979d5 Accepting request 809416 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=11
2020-06-05 17:59:02 +00:00
Tomáš Chvátal
1c4c90584e Accepting request 809234 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809234
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=21
2020-05-27 10:13:00 +00:00
e82613e3e3 Accepting request 790740 from devel:languages:python
- Update to 1.5.0:
  * Backward Compatibility:
    + Keep output as native string so we can compatible with python2 interface
  * 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

OBS-URL: https://build.opensuse.org/request/show/790740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=10
2020-04-07 08:20:42 +00:00
Steve Kowalik
4d1aada789 - Update to 1.5.0:
* Backward Compatibility:
    + Keep output as native string so we can compatible with python2 interface
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=19
2020-04-02 04:21:03 +00:00
e2281ab259 Accepting request 679035 from devel:languages:python
- Update to version 1.4.0:
 * Backward Compatibility:
  * Prefer the VERSION_CODENAME field of os-release to parsing it from VERSION [[#230](https://github.com/nir0s/distro/pull/230)]
 * Bug Fixes:
  * Return _uname_info from the uname_info() method [[#233](https://github.com/nir0s/distro/pull/233)]
  * Fixed CloudLinux id discovery [[#234](https://github.com/nir0s/distro/pull/234)]
  * Update Oracle matching [[#224](https://github.com/nir0s/distro/pull/224)]
 * Docs:
  * Distro is the recommended replacement for platform.linux_distribution [[#220](https://github.com/nir0s/distro/pull/220)]
 * Release:
  * Use Markdown for long description in setup.py [[#219](https://github.com/nir0s/distro/pull/219)]

OBS-URL: https://build.opensuse.org/request/show/679035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=9
2019-02-26 21:20:23 +00:00
Sebastian Wagner
05d917170d - Update to version 1.4.0:
* Backward Compatibility:
  * Prefer the VERSION_CODENAME field of os-release to parsing it from VERSION [[#230](https://github.com/nir0s/distro/pull/230)]
 * Bug Fixes:
  * Return _uname_info from the uname_info() method [[#233](https://github.com/nir0s/distro/pull/233)]
  * Fixed CloudLinux id discovery [[#234](https://github.com/nir0s/distro/pull/234)]
  * Update Oracle matching [[#224](https://github.com/nir0s/distro/pull/224)]
 * Docs:
  * Distro is the recommended replacement for platform.linux_distribution [[#220](https://github.com/nir0s/distro/pull/220)]
 * Release:
  * Use Markdown for long description in setup.py [[#219](https://github.com/nir0s/distro/pull/219)]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=17
2019-02-10 13:34:54 +00:00
Stephan Kulow
8de2c3ff82 Accepting request 672250 from devel:languages:python
- Drop useless BuildRequires of python-flake8 and python-pytest-cov

OBS-URL: https://build.opensuse.org/request/show/672250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=8
2019-02-08 11:11:59 +00:00
Thomas Bechtold
36979366d7 - Drop useless BuildRequires of python-flake8 and python-pytest-cov
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=15
2019-02-06 17:35:00 +00:00
Stephan Kulow
4a73d45558 Accepting request 671830 from devel:languages:python
- Add assert_locale.patch to warn about wrong locale.

OBS-URL: https://build.opensuse.org/request/show/671830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=7
2019-02-06 13:06:41 +00:00
9689d35fcd Add assert_locale.patch to warn about wrong locale.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=13
2019-02-05 10:56:20 +00:00
46673cc09e Accepting request 617150 from devel:languages:python
- Enable tests properly (this is pytest, not unittest), 
  it is necessary to explicitly set locale to an Unicode one
  (https://github.com/nir0s/distro/issues/223)

OBS-URL: https://build.opensuse.org/request/show/617150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=6
2018-06-29 20:27:00 +00:00
1e406ccb9d Enable tests properly (this is pytest, not unittest)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=11
2018-06-13 17:21:24 +00:00
b94c351c3f Accepting request 606299 from devel:languages:python
- update to version 1.3.0:
 * improvements for other operating systems
 * documentation:
  * Add Ansible reference implementation and fix arch-linux link (#213)
  * Add facter reference implementation (#213)

OBS-URL: https://build.opensuse.org/request/show/606299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=5
2018-05-11 07:19:05 +00:00
Sebastian Wagner
bb5874f9c1 - update to version 1.3.0:
* improvements for other operating systems
 * documentation:
  * Add Ansible reference implementation and fix arch-linux link (#213)
  * Add facter reference implementation (#213)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=9
2018-05-10 09:47:33 +00:00
f1a9ce2d9f Accepting request 577093 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/577093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=4
2018-02-16 20:44:26 +00:00
2dc20ac982 - Include in SLE 15 (FATE#324993, boo#997614))
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=7
2018-02-08 19:06:12 +00:00
a47b94fda4 Accepting request 560908 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/560908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=3
2018-01-01 21:35:36 +00:00
Sebastian Wagner
68b37857fa - update to version 1.2.0:
* Explicitly set Python versions for flake8 tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=5
2017-12-24 19:11:57 +00:00
f5618015c5 Accepting request 555306 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/555306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=2
2017-12-11 17:56:25 +00:00
Sebastian Wagner
62130eee69 - update to version 1.1.0 / 1.0.5:
* Include resources needed for tests and docs in source tarballs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=3
2017-12-01 17:38:49 +00:00
06eda7a7de Accepting request 512451 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/512451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=1
2017-08-24 16:41:59 +00:00
2ed3c2b3b4 Accepting request 512048 from home:sebix
now with %%license to fix 42.3 build

OBS-URL: https://build.opensuse.org/request/show/512048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=1
2017-07-24 18:55:24 +00:00