86991ff5b2
Accepting request 1248351 from devel:languages:python
...
Automatic submission by obs-autosubmit
OBS-URL: https://build.opensuse.org/request/show/1248351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=23
2025-02-27 13:50:15 +00:00
6886c4c7ac
Accepting request 1241241 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1241241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=22
2025-01-30 13:49:19 +00:00
OBS User buildservice-autocommit
61f608dae9
Updating link to change in openSUSE:Factory/python-distro revision 22
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=66264e49b972cefa2a981216a11dc49b
2025-01-30 13:49:19 +00:00
e96df4e9a5
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
OBS User buildservice-autocommit
502ab6264c
Updating link to change in openSUSE:Factory/python-distro revision 21
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=bd2c000218652d690afeb0664d114545
2024-02-25 13:04:43 +00:00
adf3cfacb6
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
093faf4aa6
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
16a015b751
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
b0216e15d0
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
3fca045bdf
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
90d1a649c4
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
9b114d119a
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
ad404551a8
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
0baa7ee488
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
132123d027
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
59b70f4b12
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
b3a6b6cebc
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
af2cf1448b
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
5c3a08c74d
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
ba8277d6e7
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
1a47f9a4ce
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
865f21de25
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
37b6871d66
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
a1e2971c7a
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
59b879bd4d
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
a937d454d1
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
5977b56ef4
- 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
ae5fe4f5fe
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
432570e593
- 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
47926c2daa
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
5323d9437f
- 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
8505abeeea
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
e02d28dcb2
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
75cfd8f411
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
a7b0fb2cfd
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
7ae4f059bf
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
cf5abb72e6
- 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
40dc54354a
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
c555839642
- 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
96e7c15868
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
0565e4e583
- 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
dd8ecf27a5
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
86dfad0a73
- 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
76f077a71a
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
29b9c5f8b8
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