Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 🎸 python3.12 support #130

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: ./.github/workflows/pytest.yml
with:
os: "ubuntu-latest"
python-version: "3.10"
python-version: "3.12"
DanielRDias marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
uses: ./.github/workflows/pytest.yml
with:
os: "macos-latest"
python-version: "3.10"
python-version: "3.12"
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
python-version:
description: "Python version passed from the caller workflow"
default: "3.10"
default: "3.12"
required: false
type: string

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/python3.12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: python3.12

on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]

jobs:
call-workflow:
uses: ./.github/workflows/pytest.yml
with:
os: "ubuntu-latest"
python-version: "3.12"
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: ./.github/workflows/pytest.yml
with:
os: "windows-latest"
python-version: "3.10"
python-version: "3.12"
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ help: ## Show available commands

.PHONY: setup
setup: ## Set up dependencies
echo python version: $$(which python3.10)
echo python version: $$(which python3.12)
@(PIPENV_VERBOSITY=-1 pipenv --venv && PIPENV_VERBOSITY=-1 PIPENV_VENV_IN_PROJECT=1 pipenv --rm) || true >/dev/null
CFLAGS=$(CFLAGS) LC_ALL=$(LC_ALL) LANG=$(LANG) PIPENV_VENV_IN_PROJECT=1 pipenv sync --dev --python=$$(which python3.10)
CFLAGS=$(CFLAGS) LC_ALL=$(LC_ALL) LANG=$(LANG) PIPENV_VENV_IN_PROJECT=1 pipenv sync --dev --python=$$(which python3.12)
DanielRDias marked this conversation as resolved.
Show resolved Hide resolved
npm install

.PHONY: deploy
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ coverage-badge = "*"
py4j = "*"

[requires]
python_version = ">=3.8"
python_version = "3"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
[![Python 3.9](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.9.yml/badge.svg)](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.9.yml)
[![Python 3.10](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.10.yml/badge.svg)](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.10.yml)
[![Python 3.11](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.11.yml/badge.svg)](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.11.yml)
[![Python 3.12](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.12.yml/badge.svg)](https://github.com/DanielRDias/ldap-password-rotation/actions/workflows/python3.12.yml)

![Python >=3.12](https://img.shields.io/badge/python->=3.12-yellow.svg)
![Python >=3.13](https://img.shields.io/badge/python->=3.13-yellow.svg)

The LDAP Password Rotation Service offers a lambda function that integrates with AWS Secrets Manager and can update the user password to a new random password and update it in AWS Secrets Manager.

Expand Down
Loading