Skip to content

Update commonpy to 1.13.1 and h2 to 4.4.1 - #143

Merged
t4k merged 1 commit into
mainfrom
commonpy-1.13.1
Nov 2, 2026
Merged

t4k merged 1 commit into
mainfrom
commonpy-1.13.1

Conversation

@t4k

@t4k t4k commented Nov 2, 2026

Copy link
Copy Markdown
Member

Fixes the open Dependabot alert for h2. Replaces #135.

#135 raised h2 to 4.4.1 on its own, but commonpy 1.13.0 required exactly h2==4.0.0, so that combination conflicts. commonpy 1.13.1 (caltechlibrary/commonpy#11, now on PyPI) requires h2 >= 4.4.1, so the two can update together.

Change

Pipfile.lock only:

  • commonpy 1.13.0 → 1.13.1
  • h2 4.0.0 → 4.4.1

The existing hpack 4.2.0 and hyperframe 6.1.0 already meet h2 4.4.1’s requirements. The Pipfile and its hash are unchanged, and pipenv verify passes.

Both new versions need Python 3.10 or later. Production runs 3.12.3.

Testing

Python 3.12, with the lock installed using --require-hashes:

  • uv pip check: no conflicts.
  • commonpy.net() over HTTP/2: 200 from pypi.org and 404 from httpbin, the same as before.
  • commonpy’s hostname(), which uses tldextract: works.
  • adapter.wsgi: / and /about return 200.

Deploying

The same steps as the last update, on apps: pull over HTTPS as dld-dev, pipenv sync, then reload Apache.

🤖 Generated with Claude Code

commonpy 1.13.1 requires h2 >= 4.4.1 instead of exactly 4.0.0, so
DIBS can take the h2 security fixes without a dependency conflict.
Only these two entries in Pipfile.lock change; the Pipfile and its
hash are unchanged, and `pipenv verify` passes. The existing hpack
4.2.0 and hyperframe 6.1.0 satisfy h2 4.4.1.

Tested under Python 3.12 with the locked packages installed with
hash checking: no dependency conflicts, commonpy's HTTP/2 requests
return the same results, and adapter.wsgi serves / and /about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@t4k
t4k merged commit ac94f00 into main Nov 2, 2026
2 checks passed
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.

1 participant