8000 Bump python from 3.12 to 3.13 by dependabot[bot] · Pull Request #155 · discord/access · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bump python from 3.12 to 3.13 #155

New issue 8000

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

Merged
merged 3 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to loa 8000 d comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]

services:
postgres:
Expand Down Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Test with tox
run: tox -e test
- name: Test with tox with postgresql
run: tox -e test-with-postgresql
run: tox -e test-with-postgresql
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN sentry-cli releases finalize ${SENTRY_RELEASE}
RUN touch sentry

# Build step #3: build the API with the client as static files
FROM python:3.12 as false
FROM python:3.13 as false
ARG SENTRY_RELEASE=""
WORKDIR /app
COPY --from=build-step /app/build ./build
Expand Down
6 changes: 3 additions & 3 deletions api/views/resources/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def post(self) -> ResponseReturnValue:
# Verify that the event is from the IGA actor ID
actorId = event.get("actor", {}).get("id")
if current_app.config["OKTA_IGA_ACTOR_ID"] is None or actorId != current_app.config["OKTA_IGA_ACTOR_ID"]:
current_app.logger.warn("Okta webhook event is not from Okta IGA user agent: %s", actorId)
current_app.logger.warning("Okta webhook event is not from Okta IGA user agent: %s", actorId)
continue

# Verify that the event is a group membership change
Expand All @@ -57,7 +57,7 @@ def post(self) -> ResponseReturnValue:
"group.user_membership.add",
"group.user_membership.remove",
):
current_app.logger.warn("Okta webhook event type is unexpected: %s", eventType)
current_app.logger.warning("Okta webhook event type is unexpected: %s", eventType)
continue

user = None
Expand All @@ -79,7 +79,7 @@ def post(self) -> ResponseReturnValue:
)

if user is None or group is None:
current_app.logger.warn(
current_app.logger.warning(
"Could not find active user or group in target: %s",
json.dumps(targets),
)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{312}
py{313}

[testenv]
deps=
Expand Down
0