Skip to content

Commit a64e77a

Browse files
committed
v2.0
1 parent c9db90c commit a64e77a

File tree

13 files changed

+58
-246
lines changed

13 files changed

+58
-246
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @gattjoe

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 26 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1212
os:
1313
[
1414
ubuntu-20.04,
@@ -19,61 +19,47 @@ jobs:
1919
macos-11,
2020
]
2121
steps:
22-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # tag=v4.2.1
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # tag=v5.3.0
24+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # tag=v5.4.0
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install tools
2828
run: |
2929
python -m pip install --upgrade pip setuptools wheel
3030
- name: Install pytest
3131
run: |
32-
python -m pip install pytest
32+
python -m pip install -r dev-requirements.txt
3333
- name: Install requirements
3434
run: |
35-
python -m pip install -r requirements.txt
35+
python -m pip install pyproject.toml
3636
- name: Run pytest
3737
run: |
3838
pytest tests/test_ocspchecker.py -v --junitxml=test-output-${{ matrix.os }}-python${{ matrix.python-version }}.xml
3939
- name: Upload test results
40-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag=v4.4.3
40+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # tag=v4.6.1
4141
with:
4242
name: pytest-results for ${{ matrix.os }}-python${{ matrix.python-version }}
4343
path: "**/test-output-${{ matrix.os }}-python${{ matrix.python-version }}.xml"
44-
# - name: Upload coverage results
45-
# uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag=v4.4.3
46-
# with:
47-
# name: pytest-results for ${{ matrix.python-version }}
48-
# path: "**/coverage.xml"
4944
if: ${{ always() }}
5045

51-
# build:
52-
# runs-on: ubuntu-latest
53-
# needs: test
54-
# steps:
55-
# - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
56-
# - name: Set up Python 3.x
57-
# uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # tag=v4.7.1
58-
# with:
59-
# python-version: "3.9"
60-
# architecture: "x64"
61-
# - name: Install tools
62-
# run: |
63-
# python -m pip install --upgrade pip setuptools wheel
64-
# python -m pip install build twine
65-
# - name: Build pypy package
66-
# run: |
67-
# python -m build
68-
# - name: Check package description
69-
# run: |
70-
# twine check dist/*
71-
# - name: Generate provenance
72-
# uses: slsa-framework/[email protected]
73-
# with:
74-
# artifact_path: dist/
75-
# - name: Upload provenance
76-
# uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag=v3.1.2
77-
# with:
78-
# name: OCSPChecker provenance
79-
# path: build.provenance
46+
build:
47+
runs-on: ubuntu-latest
48+
needs: test
49+
steps:
50+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
51+
- name: Set up Python 3.x
52+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # tag=v5.4.0
53+
with:
54+
python-version: "3.9"
55+
architecture: "x64"
56+
- name: Install tools
57+
run: |
58+
python -m pip install --upgrade pip setuptools wheel
59+
python -m pip install build twine
60+
- name: Build pypy package
61+
run: |
62+
python -m build
63+
- name: Check package description
64+
run: |
65+
twine check dist/*

.github/workflows/scorecard.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,10 @@
7878
- update devcontainer
7979
- fix flaky tests
8080
- update CI
81-
- remove support for Python 3.7
81+
- remove support for Python 3.7
82+
83+
# v2.0.0
84+
- Relocate repository under gattjoe
85+
- Removed support for Python 3.8 and added support for Python 3.13
86+
- Update dependencies and rely soley on pyproject.toml
87+
- Add CODEOWNERS

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ OCSPChecker is a python package based on Alban Diquet's [nassl](https://github.c
1111

1212
## Pre-requisites
1313

14-
__Python__ - Python 3.8 (64-bit) and above.
14+
__Python__ - Python 3.9 (64-bit) and above.
1515

1616
## Installation
1717

dev-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pytest==8.3.3
2-
twine==4.0.2
1+
pytest==8.3.5
2+
twine==6.1.0
33
pylint==3.3.1
44
black==24.10.0
55
isort==5.13.2

ocspchecker/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
""" __init__.py """
1+
""" Library used to check the OCSP revocation status for a x509 digital certificate. """
22

33
__title__ = "ocspchecker"
4-
__version__ = "1.9.14"
4+
__version__ = "2.0"
55
__author__ = "Joe Gatt"
66

77
from ocspchecker.ocspchecker import get_ocsp_status

0 commit comments

Comments
 (0)