Skip to content

Commit 8d88a2d

Browse files
authored
Optimize some repo metastuff and prepare v1.9.0 (#364)
* Update copyright dates * Add build dependency to dev-requirements.txt * Add src/*-egg-info/ to .gitignore * Add missing Python classifiers * Remove gitter link from README.md Our gitter channel doesn't exist anymore anyway. * Make CONTRIBUTORS.md relevant * Update CHANGELOG.md with latest unreleased changes * Release v1.9.0 * Fix review comments * Add .readthedocs.yaml config to fix docs deployment
1 parent 95ffcb6 commit 8d88a2d

10 files changed

Lines changed: 41 additions & 19 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ __pycache__/
2121
/*.egg-info/
2222
.installed.cfg
2323
*.egg
24+
src/*.egg-info/
2425

2526
# Installer logs
2627
pip-log.txt

.readthedocs.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.12"
7+
8+
sphinx:
9+
configuration: docs/conf.py
10+
11+
python:
12+
install:
13+
- method: pip
14+
path: .

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 1.9.0 (2023.12.19)
2+
3+
ENHANCEMENTS:
4+
* Refactor distro.info() method to return an InfoDict [[#360](https://github.com/python-distro/distro/pull/360)]
5+
* Ignore the file '/etc/board-release' [[#353](https://github.com/python-distro/distro/pull/353)]
6+
* Ignore the file '/etc/ec2_version' [[#359](https://github.com/python-distro/distro/pull/353)]
7+
8+
RELEASE:
9+
* Run Python 3.6 on Ubuntu 20.04 for CI and bump isort [[#355](https://github.com/python-distro/distro/pull/355)]
10+
11+
TESTS:
12+
* Test on modern versions of CPython and PyPy and macOS [[#362](https://github.com/python-distro/distro/pull/362)]
13+
* Add support for ALT Linux Server 10.1 distribution [[#354](https://github.com/python-distro/distro/pull/354)]
14+
* Add Debian Testing to the tests [[#356](https://github.com/python-distro/distro/pull/356)]
15+
* Update archlinux resource for tests [[#352](https://github.com/python-distro/distro/pull/352)]
16+
117
## 1.8.0 (2022.10.10)
218

319
BACKWARD COMPATIBILITY:

CONTRIBUTORS.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
Thanks!
1+
We thank anyone who has contributed to this project, and welcome anyone to contribute further.
22

3-
* https://github.com/andy-maier
4-
* https://github.com/SethMichaelLarson
5-
* https://github.com/asottile
6-
* https://github.com/MartijnBraam
7-
* https://github.com/funkyfuture
8-
* https://github.com/adamjstewart
9-
* https://github.com/xavfernandez
10-
* https://github.com/xsuchy
11-
* https://github.com/marcoceppi
12-
* https://github.com/tgamblin
13-
* https://github.com/sebix
14-
* https://github.com/jdufresne
3+
For a list of contributors, please see https://github.com/python-distro/distro/graphs/contributors

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015,2016 Nir Cohen
1+
# Copyright 2015-2021 Nir Cohen
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ release: test clean build publish
4343

4444
.PHONY: test
4545
test:
46-
pip install 'tox>=1.7.2'
46+
pip install 'tox>=1.9.0'
4747
tox
4848
@echo "$@ done."
4949

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Distro - an OS platform information API
77
[![Code Coverage](https://codecov.io/github/python-distro/distro/coverage.svg?branch=master)](https://codecov.io/github/python-distro/distro?branch=master)
88
[![Is Wheel](https://img.shields.io/pypi/wheel/distro.svg?style=flat)](https://pypi.python.org/pypi/distro)
99
[![Latest Github Release](https://readthedocs.org/projects/distro/badge/?version=stable)](http://distro.readthedocs.io/en/latest/)
10-
[![Join the chat at https://gitter.im/python-distro/distro](https://badges.gitter.im/python-distro/distro.svg)](https://gitter.im/python-distro/distro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1110

1211
`distro` provides information about the
1312
OS distribution it runs on, such as a reliable machine-readable ID, or

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ sphinx>=1.1
44
pre-commit==2.13.0; python_version > '3.5'
55
black; python_version > '3.5' and platform_python_implementation != 'PyPy'
66
mypy; python_version > '3.5' and platform_python_implementation != 'PyPy'
7+
build

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ classifiers =
2626
Programming Language :: Python :: 3.8
2727
Programming Language :: Python :: 3.9
2828
Programming Language :: Python :: 3.10
29+
Programming Language :: Python :: 3.11
30+
Programming Language :: Python :: 3.12
2931
Topic :: Software Development :: Libraries :: Python Modules
3032
Topic :: System :: Operating System
3133

src/distro/distro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright 2015,2016,2017 Nir Cohen
2+
# Copyright 2015-2021 Nir Cohen
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -55,7 +55,7 @@
5555
# Python 3.7
5656
TypedDict = dict
5757

58-
__version__ = "1.8.0"
58+
__version__ = "1.9.0"
5959

6060

6161
class VersionDict(TypedDict):

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2015,2016 Nir Cohen
1+
# Copyright 2015-2021 Nir Cohen
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)