fix: revert presidio-analyzer Dockerfiles to Python 3.12 and configure dependabot to stay on Python 3.12#1928
Conversation
Bumps python from 3.12-windowsservercore to 3.15.0a7-windowsservercore. --- updated-dependencies: - dependency-name: python dependency-version: 3.15.0a7-windowsservercore dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Coverage report (presidio-analyzer)Click to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||
….15.0a7-windowsservercore
|
@copilot Can you suggest solutions for the CI failure? |
Agent-Logs-Url: https://github.com/microsoft/presidio/sessions/5a59bae5-3f40-41e0-8964-6ebf92ad4e6c Co-authored-by: SharonHart <15013757+SharonHart@users.noreply.github.com>
The CI failure was caused by the dependabot commit bumping all presidio-analyzer Dockerfiles to Fixed in commit |
|
@copilot Can I bump into a valid hash but still keep using pythno 3.12? can I instruct dependabot to do so? |
…o ignore Python 3.13+ upgrades Agent-Logs-Url: https://github.com/microsoft/presidio/sessions/68f79647-01c0-46a8-b50e-e688b0d196b0 Co-authored-by: SharonHart <15013757+SharonHart@users.noreply.github.com>
Yes, both approaches work. Done in commit
|
Reverts all
presidio-analyzerDockerfiles back topython:3.12(Linux slim and Windows servercore) and configures dependabot to prevent future Python version bumps beyond 3.12.Changes Made
presidio-analyzerDockerfiles (Dockerfile,Dockerfile.dev,Dockerfile.stanza,Dockerfile.transformers,Dockerfile.windows) restored topython:3.12-slim/python:3.12-windowsservercorewith their original SHA hashes.pyproject.toml:requires-pythonrestored to">=3.10,<3.14"to match the Python 3.12 base images.ignorerules to.github/dependabot.ymlfor all Docker ecosystems (/presidio-analyzer,/presidio-anonymizer,/presidio-image-redactor) to block Python version bumps to>= 3.13. Dependabot will still open PRs to update the SHA digest forpython:3.12(e.g., security patches) but will not propose upgrades to Python 3.13 or later.