Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ jobs:
python -m pip install --upgrade pip
pip install pytest

# The version of setuptools in python 3.8 environment does not support PEP 639
# license metadata format. Patch pyproject.toml for this version to restore old
# deprecated format.
- name: Patch license metadata (Python 3.8)
if: ${{ matrix.python-version == '3.8' }}
run: |
sed -i 's/^license = \(".*"\)/license = {text = \1}/' pyproject.toml src/*/pyproject.toml

- name: Install application
run: |
pip install src/core src/authentication src/build src/log src/permissions src/settings src/web
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ and this project adheres to
user authentication to retrieve user information and groups (#57).
Contribution from @Cornelicorn.

### Fixed
- pkg: Adopt PEP 639 to declare license in package metadata with SPDX notation
and fix deprecation notice raised by external build package (#52).

## [1.4.0] - 2025-04-11

### Added
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL"
version = "1.4.0"
description = "Rackslab Foundation Library"
license = "GPL-3.0-or-later"
requires-python = ">=3.6"

[tool.ruff.lint]
Expand Down
3 changes: 1 addition & 2 deletions src/authentication/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.authentication"
version = "1.4.0"
description = "Rackslab Foundation Library: authentication package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -21,7 +21,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down
3 changes: 1 addition & 2 deletions src/build/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.build"
version = "1.4.0"
description = "Rackslab Foundation Library: build package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -20,7 +20,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down
3 changes: 1 addition & 2 deletions src/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.core"
version = "1.4.0"
description = "Rackslab Foundation Library: core package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -17,7 +17,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down
3 changes: 1 addition & 2 deletions src/log/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.log"
version = "1.4.0"
description = "Rackslab Foundation Library: log package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -17,7 +17,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down
3 changes: 1 addition & 2 deletions src/permissions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.permissions"
version = "1.4.0"
description = "Rackslab Foundation Library: permissions package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -21,7 +21,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down
3 changes: 1 addition & 2 deletions src/settings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.settings"
version = "1.4.0"
description = "Rackslab Foundation Library: settings package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -20,7 +20,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down
3 changes: 1 addition & 2 deletions src/web/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.web"
version = "1.4.0"
description = "Rackslab Foundation Library: web package"
license = {text = "GPLv3+"}
license = "GPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand All @@ -21,7 +21,6 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
Expand Down