core: bump python from 3.11.5-bookworm to 3.12.0-bookworm (#7048)
* core: bump python from 3.11.5-bookworm to 3.12.0-bookworm Bumps python from 3.11.5-bookworm to 3.12.0-bookworm. --- updated-dependencies: - dependency-name: python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * bump ci and docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use aiohttp beta to test Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use same image for deps and final Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/actions/setup/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/actions/setup/action.yml
									
									
									
									
										vendored
									
									
								
							| @ -35,7 +35,7 @@ runs: | ||||
|       run: | | ||||
|         export PSQL_TAG=${{ inputs.postgresql_tag }} | ||||
|         docker-compose -f .github/actions/setup/docker-compose.yml up -d | ||||
|         poetry env use python3.11 | ||||
|         poetry env use python3.12 | ||||
|         poetry install | ||||
|         cd web && npm ci | ||||
|     - name: Generate config | ||||
|  | ||||
| @ -81,7 +81,7 @@ RUN --mount=type=secret,id=GEOIPUPDATE_ACCOUNT_ID \ | ||||
|     /bin/sh -c "/usr/bin/entry.sh || echo 'Failed to get GeoIP database, disabling'; exit 0" | ||||
|  | ||||
| # Stage 5: Python dependencies | ||||
| FROM docker.io/python:3.11.5-bookworm AS python-deps | ||||
| FROM docker.io/python:3.12.0-slim-bookworm AS python-deps | ||||
|  | ||||
| WORKDIR /ak-root/poetry | ||||
|  | ||||
| @ -104,7 +104,7 @@ RUN --mount=type=bind,target=./pyproject.toml,src=./pyproject.toml \ | ||||
|     poetry install --only=main --no-ansi --no-interaction | ||||
|  | ||||
| # Stage 6: Run | ||||
| FROM docker.io/python:3.11.5-slim-bookworm AS final-image | ||||
| FROM docker.io/python:3.12.0-slim-bookworm AS final-image | ||||
|  | ||||
| ARG GIT_BUILD_HASH | ||||
| ARG VERSION | ||||
|  | ||||
							
								
								
									
										1710
									
								
								poetry.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1710
									
								
								poetry.lock
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -12,7 +12,7 @@ reportOptionalSubscript = false | ||||
| # so we have to disable those for now | ||||
| reportGeneralTypeIssues = false | ||||
| verboseOutput = false | ||||
| pythonVersion = "3.11" | ||||
| pythonVersion = "3.12" | ||||
| pythonPlatform = "All" | ||||
|  | ||||
| [tool.black] | ||||
| @ -154,7 +154,7 @@ pycryptodome = "*" | ||||
| pydantic = "*" | ||||
| pydantic-scim = "*" | ||||
| pyjwt = "*" | ||||
| python = "~3.11" | ||||
| python = "~3.12" | ||||
| pyyaml = "*" | ||||
| requests-oauthlib = "*" | ||||
| sentry-sdk = "*" | ||||
|  | ||||
| @ -160,7 +160,7 @@ While the prerequisites above must be satisfied prior to having your pull reques | ||||
|  | ||||
| All Python code is linted with [black](https://black.readthedocs.io/en/stable/), [PyLint](https://www.pylint.org/) and [isort](https://pycqa.github.io/isort/). | ||||
|  | ||||
| authentik runs on Python 3.11 at the time of writing this. | ||||
| authentik runs on Python 3.12 at the time of writing this. | ||||
|  | ||||
| -   Use native type-annotations wherever possible. | ||||
| -   Add meaningful docstrings when possible. | ||||
|  | ||||
| @ -4,7 +4,7 @@ title: Full development environment | ||||
|  | ||||
| ## Requirements | ||||
|  | ||||
| -   Python 3.11 | ||||
| -   Python 3.12 | ||||
| -   Poetry, which is used to manage dependencies | ||||
| -   Go 1.20 | ||||
| -   Node.js 20 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png) dependabot[bot]
					dependabot[bot]