From c12695927739394113529580a6a8eeb60b1c3242 Mon Sep 17 00:00:00 2001 From: mechanicalgirl Date: Tue, 2 Sep 2025 10:54:02 -0700 Subject: [PATCH 1/4] prep pytest workflow triggers for required status checks --- .github/workflows/pytest.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index fa55bf3..1247a71 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -1,6 +1,10 @@ name: Run Unit Tests via PyTest on: + pull_request: + branches: [main, 'release/**'] + push: + branches: [main, 'release/**'] workflow_dispatch: jobs: From 46648c3bdad37204461d9ea82529be518dd8a0a6 Mon Sep 17 00:00:00 2001 From: mechanicalgirl Date: Tue, 2 Sep 2025 11:09:25 -0700 Subject: [PATCH 2/4] optional pytest run on push to release tags --- .github/workflows/pytest.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 1247a71..bf19e86 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -4,7 +4,9 @@ on: pull_request: branches: [main, 'release/**'] push: - branches: [main, 'release/**'] + branches: [main] + tags: + - 'v*' workflow_dispatch: jobs: From b6aa5254b08987279a379afba4444baa341a68d6 Mon Sep 17 00:00:00 2001 From: barbara shaurette Date: Tue, 2 Sep 2025 15:27:37 -0700 Subject: [PATCH 3/4] v0.1.0 docs cleanup and workflow requirements (#3) --- README.md | 6 ++++-- RELEASING.md | 2 +- pyproject.toml | 15 +++++++++++---- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 020d10c..646d92e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ [![](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](CODE_OF_CONDUCT.md) +![Latest release](https://img.shields.io/github/v/release/voxmedia/AutoTLS?display_name=tag&sort=semver) +![Tests](https://img.shields.io/github/actions/workflow/status/voxmedia/AutoTLS/pytest.yaml?branch=release/0.1.0&label=tests) # Table of Contents @@ -85,8 +87,8 @@ python -m pip install -e . > [!NOTE] > If you run into errors with the `psycopg2` build, you may need to rebuild your venv with Python 3.9 (install using Homebrew (`brew install python@3.9`) or pyenv): ``` -python3.9 -m venv venv -source venv/bin/activate +python3.9 -m venv .venv +source .venv/bin/activate python -m pip install -e . ``` diff --git a/RELEASING.md b/RELEASING.md index b6cc34b..9e6065e 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -77,7 +77,7 @@ We use [Semantic Versioning](https://semver.org/): git checkout main git pull origin main git checkout -b release/x.y.z+1 - git push origin release/x.y.z+1 + git push -u origin release/x.y.z+1 ``` 2. **Delete the old release branch**: diff --git a/pyproject.toml b/pyproject.toml index 5dbd7f0..87c6cd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ +[build-system] +requires = ["flit_core >= 3.12.0, <4"] +build-backend = "flit_core.buildapi" + [project] name = "tlstool" version = "0.1.0" @@ -8,7 +12,7 @@ dependencies = [ "boto3==1.39.8", "botocore==1.39.8", "certbot==4.1.1", - "click==8.1.8", + "click>=8.0,<8.2", "coverage-badge==1.1.2", "cryptography==45.0.6", "ddtrace==3.10.2", @@ -41,6 +45,9 @@ dependencies = [ "whoisdomain==1.20250220.2" ] -[build-system] -requires = ["flit_core >= 3.12.0, <4"] -build-backend = "flit_core.buildapi" +[project.urls] +Homepage = "https://github.com/voxmedia/AutoTLS" +Documentation = "https://github.com/voxmedia/AutoTLS#readme" +Issues = "https://github.com/voxmedia/AutoTLS/issues" +Changelog = "https://github.com/voxmedia/AutoTLS/blob/main/CHANGELOG.md" + From 62476ed74177e808b329c3fe1dacf3803cca960b Mon Sep 17 00:00:00 2001 From: mechanicalgirl Date: Tue, 2 Sep 2025 15:33:53 -0700 Subject: [PATCH 4/4] v0.1.0 changelog entry --- CHANGELOG.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6157321..b0bed36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and --- -## [0.1.0] - 2025-08-25 -### Added -- Initial commit +## [0.1.0] - 2025-09-02 + +### Changed +- Edited pytest workflow triggers so that they can be used for status checks on PRs and release branch pushes. +- Added project.urls to pyproject.toml +### Docs +- Added release and tests status badges to README +- Added notes about python version requirements to README +- Clarified steps in RELEASING.md