Skip to content

Commit 6e90db1

Browse files
authored
chore: unifiy platform related classifiers (#889)
1 parent d732408 commit 6e90db1

File tree

7 files changed

+18
-8
lines changed

7 files changed

+18
-8
lines changed

.github/workflows/delete-untagged-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
delete-untagged-packages:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Delete untagged dev-cache packages
1616
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0

copier.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ coverage_threshold:
127127
type: int
128128
validator: "{% if not 0 <= coverage_threshold <= 100 %}Test Coverage threshold should be between 0 and 100{% endif %}"
129129
platforms:
130-
default: ["macos", "ubuntu", "windows"]
130+
default: ["macos", "linux", "windows"]
131131
choices:
132132
- macos
133-
- ubuntu
133+
- linux
134134
- windows
135135
help: "Set the supported platforms for the project:"
136136
multiselect: true

includes/copier-answers-sample.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ organization_name: Serious Scaffold
1313
package_name: ss-python
1414
platforms:
1515
- macos
16-
- ubuntu
16+
- linux
1717
- windows
1818
project_description:
1919
A Python Project Template for Long-Term Maintainability.

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ requires-python = ">=3.9"
2323
classifiers = [
2424
"Development Status :: 3 - Alpha",
2525
"License :: OSI Approved :: MIT License",
26-
"Operating System :: OS Independent",
26+
"Operating System :: MacOS :: MacOS X",
27+
"Operating System :: Microsoft :: Windows",
28+
"Operating System :: POSIX :: Linux",
2729
"Programming Language :: Python :: 3 :: Only",
2830
"Programming Language :: Python :: 3.9",
2931
"Programming Language :: Python :: 3.10",

template/pyproject.toml.jinja

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,15 @@ classifiers = [
4848
"Development Status :: 5 - Production/Stable",
4949
{% endif %}
5050
"License :: OSI Approved :: {{ copyright_license }}",
51-
"Operating System :: OS Independent",
51+
{% if "macos" in platforms %}
52+
"Operating System :: MacOS :: MacOS X",
53+
{% endif %}
54+
{% if "windows" in platforms %}
55+
"Operating System :: Microsoft :: Windows",
56+
{% endif %}
57+
{% if "linux" in platforms %}
58+
"Operating System :: POSIX :: Linux",
59+
{% endif %}
5260
"Programming Language :: Python :: 3 :: Only",
5361
{% if version_between("3.9", min_py, max_py) %}
5462
"Programming Language :: Python :: 3.9",

template/{% if repo_platform == 'github' %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# renovate: github-runner
4141
- macos-14
4242
{% endif %}
43-
{% if "ubuntu" in platforms %}
43+
{% if "linux" in platforms %}
4444
# renovate: github-runner
4545
- ubuntu-24.04
4646
{% endif %}

template/{% if repo_platform == 'github' %}.github{% endif %}/workflows/delete-untagged-packages.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
delete-untagged-packages:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Delete untagged dev-cache packages
1616
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0

0 commit comments

Comments
 (0)