Skip to content

Commit 7cfe7d8

Browse files
committed
Signed-off-by: Jono Yang <[email protected]>
2 parents bfd6a45 + fb75a2e commit 7cfe7d8

File tree

8 files changed

+27
-24
lines changed

8 files changed

+27
-24
lines changed

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ jobs:
7171
needs:
7272
- create-gh-release
7373
runs-on: ubuntu-24.04
74+
environment: pypi-publish
75+
permissions:
76+
id-token: write
7477

7578
steps:
7679
- name: Download built archives
@@ -82,5 +85,3 @@ jobs:
8285
- name: Publish to PyPI
8386
if: startsWith(github.ref, 'refs/tags')
8487
uses: pypa/gh-action-pypi-publish@release/v1
85-
with:
86-
password: ${{ secrets.PYPI_API_TOKEN }}

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 2
99
build:
1010
os: ubuntu-22.04
1111
tools:
12-
python: "3.11"
12+
python: "3.13"
1313

1414
# Build PDF & ePub
1515
formats:

README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
purl-validator
22
================================
33

4-
PURLs are everywhere in SBOMs. But with adoption comes widespread errors.
4+
PURLs are everywhere in SBOMs. But with adoption comes widespread errors.
55
A recent study on the quality of SBOMs revealed that for many proprietary and
6-
open source tools, PURLs in SBOMs are inconsistent, fake, incorrect, or
7-
misleading. This is a serious problem to any application of SBOMs for
8-
cybersecurity and application security, as well as related compliance
9-
regulations. This project is to create a PURL validator that's decentralized
6+
open source tools, PURLs in SBOMs are inconsistent, fake, incorrect, or
7+
misleading. This is a serious problem to any application of SBOMs for
8+
cybersecurity and application security, as well as related compliance
9+
regulations. This project is to create a PURL validator that's decentralized
1010
such that libraries can use it offline and help them create better PURLs.
1111

12-
Building this compact dataset is new territory. There is research
13-
and exploration necessary for creating a super compact data structure
14-
that is also easy and fast to query across multiple languages. The data
12+
Building this compact dataset is new territory. There is research
13+
and exploration necessary for creating a super compact data structure
14+
that is also easy and fast to query across multiple languages. The data
1515
structure will also need memory-mapping to avoid running out of memory.

azure-pipelines.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,54 +19,54 @@ jobs:
1919
parameters:
2020
job_name: ubuntu22_cpython
2121
image_name: ubuntu-22.04
22-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
22+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
2323
test_suites:
2424
all: venv/bin/pytest -n 2 -vvs
2525

2626
- template: etc/ci/azure-posix.yml
2727
parameters:
2828
job_name: ubuntu24_cpython
2929
image_name: ubuntu-24.04
30-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
30+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
3131
test_suites:
3232
all: venv/bin/pytest -n 2 -vvs
3333

3434
- template: etc/ci/azure-posix.yml
3535
parameters:
3636
job_name: macos13_cpython
3737
image_name: macOS-13
38-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
38+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
3939
test_suites:
4040
all: venv/bin/pytest -n 2 -vvs
4141

4242
- template: etc/ci/azure-posix.yml
4343
parameters:
4444
job_name: macos14_cpython
4545
image_name: macOS-14
46-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
46+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
4747
test_suites:
4848
all: venv/bin/pytest -n 2 -vvs
4949

5050
- template: etc/ci/azure-posix.yml
5151
parameters:
5252
job_name: macos15_cpython
5353
image_name: macOS-15
54-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
54+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
5555
test_suites:
5656
all: venv/bin/pytest -n 2 -vvs
5757

5858
- template: etc/ci/azure-win.yml
5959
parameters:
6060
job_name: win2022_cpython
6161
image_name: windows-2022
62-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
62+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
6363
test_suites:
6464
all: venv\Scripts\pytest -n 2 -vvs
6565

6666
- template: etc/ci/azure-win.yml
6767
parameters:
6868
job_name: win2025_cpython
6969
image_name: windows-2025
70-
python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13']
70+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
7171
test_suites:
7272
all: venv\Scripts\pytest -n 2 -vvs

etc/scripts/utils_thirdparty.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@
115115
TRACE_ULTRA_DEEP = False
116116

117117
# Supported environments
118-
PYTHON_VERSIONS = "39", "310", "311", "312", "313"
118+
PYTHON_VERSIONS = "310", "311", "312", "313", "314"
119119

120120
PYTHON_DOT_VERSIONS_BY_VER = {
121-
"39": "3.9",
122121
"310": "3.10",
123122
"311": "3.11",
124123
"312": "3.12",
125124
"313": "3.13",
125+
"314": "3.14",
126126
}
127127

128128

@@ -134,11 +134,11 @@ def get_python_dot_version(version):
134134

135135

136136
ABIS_BY_PYTHON_VERSION = {
137-
"39": ["cp39", "cp39m", "abi3"],
138137
"310": ["cp310", "cp310m", "abi3"],
139138
"311": ["cp311", "cp311m", "abi3"],
140139
"312": ["cp312", "cp312m", "abi3"],
141140
"313": ["cp313", "cp313m", "abi3"],
141+
"314": ["cp314", "cp314m", "abi3"],
142142
}
143143

144144
PLATFORMS_BY_OS = {

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools >= 50", "wheel", "setuptools_scm[toml] >= 6"]
2+
requires = ["setuptools >= 50", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.setuptools_scm]
@@ -68,7 +68,7 @@ include = [
6868
"."
6969

7070
]
71-
# ignore test data and testfiles: they should never be linted nor formatted
71+
# ignore test data and testfiles: they should never be linted nor formatted
7272
exclude = [
7373
# main style
7474
"**/tests/data/**/*",

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ license_files =
3131
README.rst
3232

3333
[options]
34-
python_requires = >=3.9
34+
python_requires = >=3.10
3535

3636
package_dir =
3737
=src

src/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Put your Python source code (and installable data) in this directory.
2+

0 commit comments

Comments
 (0)