Skip to content

Switch to Python 3.13 from 3.10.19#3013

Merged
FrankApiyo merged 15 commits intomainfrom
chore/update-requirements-20260210
Feb 17, 2026
Merged

Switch to Python 3.13 from 3.10.19#3013
FrankApiyo merged 15 commits intomainfrom
chore/update-requirements-20260210

Conversation

@ukanga
Copy link
Member

@ukanga ukanga commented Feb 10, 2026

Changes / Features implemented

  • Switched to Python 3.13 from 3.10.19
  • Switched to dhi.io hardened images
  • Updated to the latest pinned requirements
  • Trivy HTML direct export instead of conversion
  • Use GitHub Token instead of SSH private key setup

Update Docker base image to
onaio/python-deps:3.10.19-20260210 and regenerate
all .pip files with latest package versions.

Switch locale from en_US.UTF-8 to C.UTF-8 in
Dockerfile runtime and docs stages, removing the
locales package dependency.
Bump boto3 1.42.44->1.42.46, cryptography 46.0.4->46.0.5,
pyxform 4.1.0->4.2.0; add lark 1.3.1 (new pyxform dep).
Unpin pyxform in setup.cfg.
The jq regex used [^\n]+ (one or more) which failed on
vulnerabilities with no fixed version, producing empty
output. Use [^\n]* (zero or more) and sort by severity
before taking top 10 results.
@ukanga ukanga force-pushed the chore/update-requirements-20260210 branch from e9362b7 to f53c81a Compare February 10, 2026 23:32
Configure Trivy VEX Hub with Docker Hardened Images
advisories to filter out known non-exploitable CVEs
(e.g. CVE-2023-45853) from scan results.
Replace --mount=type=ssh with --mount=type=secret to
authenticate optional package installs via a GitHub
token over HTTPS instead of SSH agent forwarding.
Regenerate all .pip files with latest dependency
versions using pip-compile.
still needs refinement
@ukanga ukanga changed the title Chore/update requirements 20260210 Switch to Python 3.13 from 3.10.19 Feb 16, 2026
python-memcached
# XLSForm support
pyxform==4.1.0
pyxform
Copy link
Contributor

@kelvin-muchiri kelvin-muchiri Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not need to pin to an exact version anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now in .pip file

@FrankApiyo FrankApiyo merged commit 9ab2c4a into main Feb 17, 2026
11 checks passed
@FrankApiyo FrankApiyo deleted the chore/update-requirements-20260210 branch February 17, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants