Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
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 Dockerfile-3.13 → Dockerfile-3.12
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13-alpine as base
FROM python:3.12-alpine as base

RUN mkdir /src
WORKDIR /src
Expand Down
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
export PYTHON_VERSIONS := 3.13
export PYTHON_VERSIONS := 3.12

.PHONY: dev-build
dev-build: ## Create the docker image for you dev environment.
docker-compose build
docker compose --profile "*" build

.PHONY: dev-clean
dev-clean: ## Remove all the docker containers for this project.
docker-compose down --rmi local --volumes
docker compose --profile "*" down --rmi local --volumes

.PHONY: dev-setup ## Basic environment configuration
dev-setup:
build-scripts/ca-certs/export-certs

.PHONY: dev-shell
dev-shell: ## Start a shell in the dev container
docker compose run release sh

.PHONY: dev-test
dev-test: ## Run the tests.
for PYTHON_VERSION in ${PYTHON_VERSIONS} ; do \
docker-compose run --rm "hubble-shuttle-$$PYTHON_VERSION" python -m unittest discover ; \
docker compose run --rm "hubble-shuttle-$$PYTHON_VERSION" python -m unittest discover ; \
done

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pip install hubble_shuttle

### Supported Python versions

Shuttle is build and tested with Python 3.13.
Shuttle is build and tested with Python 3.12.

## Client-level configuration

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/ca-certs/export-certs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if command -v security 2>&1 >/dev/null
then
# macOS: `security` command allows for exporting certs
echo "Exporting macOS root certificate store to $export_path..."
security find-certificate -a -c ysi-YSIFWCERT01-CA -p > $export_path
security find-certificate -a -p > $export_path
else
echo "Exporting certificates is unsupported on this platform."
exit 1
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
services:
hubble-shuttle-3.13:
container_name: hubble-shuttle-3.13
hubble-shuttle-3.12:
container_name: hubble-shuttle-3.12
build:
context: .
dockerfile: Dockerfile-3.13
dockerfile: Dockerfile-3.12
target: dev
profiles:
- dev
Expand All @@ -18,7 +18,7 @@ services:
release:
build:
context: .
dockerfile: Dockerfile-3.13
dockerfile: Dockerfile-3.12
target: release
profiles:
- release
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
]
description = "Hubble's Shuttle"
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.12"
dependencies = [
"requests>2.32.0",
]
Expand Down