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
2 changes: 1 addition & 1 deletion .github/workflows/delete-untagged-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
delete-untagged-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Delete untagged dev-cache packages
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0
Expand Down
4 changes: 2 additions & 2 deletions copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ coverage_threshold:
type: int
validator: "{% if not 0 <= coverage_threshold <= 100 %}Test Coverage threshold should be between 0 and 100{% endif %}"
platforms:
default: ["macos", "ubuntu", "windows"]
default: ["macos", "linux", "windows"]
choices:
- macos
- ubuntu
- linux
- windows
help: "Set the supported platforms for the project:"
multiselect: true
Expand Down
2 changes: 1 addition & 1 deletion includes/copier-answers-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ organization_name: Serious Scaffold
package_name: ss-python
platforms:
- macos
- ubuntu
- linux
- windows
project_description:
A Python Project Template for Long-Term Maintainability.
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
10 changes: 9 additions & 1 deletion template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
{% endif %}
"License :: OSI Approved :: {{ copyright_license }}",
"Operating System :: OS Independent",
{% if "macos" in platforms %}
"Operating System :: MacOS :: MacOS X",
{% endif %}
{% if "windows" in platforms %}
"Operating System :: Microsoft :: Windows",
{% endif %}
{% if "linux" in platforms %}
"Operating System :: POSIX :: Linux",
{% endif %}
"Programming Language :: Python :: 3 :: Only",
{% if version_between("3.9", min_py, max_py) %}
"Programming Language :: Python :: 3.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# renovate: github-runner
- macos-14
{% endif %}
{% if "ubuntu" in platforms %}
{% if "linux" in platforms %}
# renovate: github-runner
- ubuntu-24.04
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
delete-untagged-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Delete untagged dev-cache packages
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0
Expand Down