-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated to use towncrier for change logs
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
- Loading branch information
1 parent
a337537
commit fa37888
Showing
26 changed files
with
303 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Keep this directory in git even if empty | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Removed support for Python 2.7, 3.6, and 3.7. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Development: Changed release process to use a GitHub Actions workflow and | ||
documented that in DEVELOP.md. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Removed code and tests that depends on the differences between Python 3.8+ and | ||
on differences between pywbem 1.0.0 and earlier versions of Python. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Refactored pywbemcli tests to avoid hiding the default connection file and | ||
the names for the connection file and mock cache by moving as part of tests. | ||
EnvVar PYWBEMCLI_ALT_HOME_DIR defines alternate directory for connection file | ||
and mockcache and is set for all pywbemcli tests. The definition of file | ||
names for default connection file and mock cache managed by pywbemcli moved | ||
from pywbemtools/pywbemcli/_utils.py to pywbemcli/_connection_file_names.py. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added support for and testing on Python 3.13. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Development: Increased minimum versions of PyYAML to 6.0.2 and psutil to 6.0.0, | ||
to fix install errors with Python 3.13 on Windows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Development: Migrated to use towncrier for change logs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Used click-repl version 3 forked. Currently this is using a forked version | ||
since the proposed changes to fix issues have not been incorporated into a | ||
released version of click-repl. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{# | ||
# Jinja2 template for towncrier to generate the change log from change fragments. | ||
# | ||
# Input variables (as of towncrier 22.8.0): | ||
# - render_title (bool): Indicates whether a title should be rendered by the | ||
# template. If False, the title is being added by towncrier to the result of | ||
# the template. | ||
# - sections: The change fragments, as a dict with key: section | ||
# name, value: dict with key: category (=type) name, value: dict with key: | ||
# change fragment text, value: list of issues. | ||
# - definitions: The definitions of change categories (=types), as a dict | ||
# with key: type name, value: dict with items 'name', 'showcontent'. | ||
# - underlines (str): The underline characters to use for the different heading | ||
# levels (following the top heading level) | ||
# - versiondata (dict): Project name and version data, as a dict with items | ||
# 'name', 'version', 'date'. | ||
# - top_underline (str): The underline character to be used for the title | ||
# of the change log when the template generates the title. | ||
# - get_indent (func): Function to get the indentation for subsequent lines | ||
# given the first line of a multi-line change fragment text. | ||
#} | ||
{% if render_title %} | ||
{% if versiondata.name %} | ||
{{ versiondata.name }} {{ versiondata.version }} ({{ versiondata.date }}) | ||
{{ top_underline * ((versiondata.name + versiondata.version + versiondata.date)|length + 4)}} | ||
{% else %} | ||
{{ versiondata.version }} ({{ versiondata.date }}) | ||
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}} | ||
{% endif %} | ||
{% endif %} | ||
|
||
Released: {{ versiondata.date }} | ||
|
||
{% for section, _ in sections.items() %} | ||
{% set underline = underlines[0] %} | ||
{% if section %} | ||
{{ section }} | ||
{{ underline * section|length }} | ||
|
||
{% set underline = underlines[1] %} | ||
{% endif %} | ||
{% if sections[section] %} | ||
{% for category, val in definitions.items() if category in sections[section] and category != 'notshown' %} | ||
**{{ definitions[category]['name'] }}:** | ||
|
||
{% if definitions[category]['showcontent'] %} | ||
{% for text, values in sections[section][category].items() %} | ||
{% set issue_values = [] %} | ||
{% for v in values if 'noissue' not in v %} | ||
{% set _ = issue_values.append(v) %} | ||
{% endfor %} | ||
{% set issue_values_str = ' (' + issue_values|join(', ') + ')' if issue_values else '' %} | ||
* {{ text }}{{ issue_values_str }} | ||
|
||
{% endfor %} | ||
{% else %} | ||
{% set issue_values = [] %} | ||
{% for v in sections[section][category][''] if 'noissue' not in v %} | ||
{% set _ = issue_values.append(v) %} | ||
{% endfor %} | ||
{% if issue_values %} | ||
* {{ issue_values|join(', ') }} | ||
|
||
{% endif %} | ||
{% endif %} | ||
{% if sections[section][category]|length == 0 %} | ||
No significant changes. | ||
|
||
{% endif %} | ||
{% endfor %} | ||
{% else %} | ||
No significant changes. | ||
|
||
{% endif %} | ||
{% endfor %} | ||
{{ '' }} | ||
{{ '' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Development: Migrated from setup.py to pyproject.toml since that is the | ||
recommended direction for Python packages. The make targets have not changed. | ||
The content of the wheel and source distribution archives has not changed. | ||
|
||
Some files have been renamed: | ||
- minimum-constraints.txt to minimum-constraints-develop.txt | ||
- .safety-policy-all.yml to .safety-policy-develop.yml | ||
|
||
Removed pywbem/_version_scm.py from git tracking, because it is now | ||
dynamically created when building the distribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Development: Fixed new issues reported by Pylint 3.2 and 3.3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The migration from setup.py to pyproject.toml removed the possibility to run | ||
setup.py as a command, for example to install or test pywbemtools. Note that | ||
running setup.py as a command has been deprecated by the Python setuptools | ||
team. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Development: The pywbem version during development now uses an automatically | ||
calculated dev number and the git commit hash, e.g. '1.4.0a1.dev9+gad875911'. | ||
The pywbem version numbers for packages released to Pypi are unchanged: 'M.N.U'. | ||
Updated the release description in DEVELOP.md to no longer edit the version | ||
file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Test: Fixed the issue that coveralls was not found in the test workflow on MacOS | ||
with Python 3.9-3.11, by running it without login shell. Added Python 3.11 on | ||
MacOS to the normal tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Development: Fixed pydantic install issue on Python 3.13 by excluding | ||
safety-schemas version 0.0.7. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Test: Python 3.13 was pinned to 3.13.0 to work around a pylint issue on | ||
Python 3.13.1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed safety issues up to 2024-11-30. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.