Skip to content

Update dependency pem to v23#14007

Open
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/pem-23.x
Open

Update dependency pem to v23#14007
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/pem-23.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pem (changelog) ==21.2.0==23.1.0 age confidence

Release Notes

hynek/pem (pem)

v23.1.0

Compare Source

Removed
  • Support for Python 2.7, 3.5, and 3.6 has been dropped.
Added
  • Support for RFC 4880 OpenPGP private & public keys: pem.OpenPGPPublicKey and pem.OpenPGPPrivateKey.
    #​72
  • Support for intra-payload headers like the ones used in OpenPGP keys using the meta_headers property.
    #​75
  • pem.parse_file() now accepts also pathlib.Path objects.
  • pem.parse() now also accepts str.
  • Added text_payload, bytes_payload and decoded_payload properties to all PEM objects that allow to directly access the payload without the envelope and possible headers.
    #​74

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners April 8, 2026 19:28
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: cloudkms Issues related to the Cloud Key Management Service API. labels Apr 8, 2026
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Apr 8, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 8, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the pem dependency to version 23.1.0 in the requirements file. A review comment correctly identifies that the updated version constraints are now redundant and potentially problematic for older Python versions, suggesting a simplified single-line requirement for better compatibility and maintenance.

Comment on lines +2 to 3
pem==23.1.0; python_version < '3.8'
pem==23.1.0; python_version > '3.7'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

These two lines are now redundant and can be simplified. More importantly, the condition python_version < '3.8' is problematic with pem==23.1.0 because this version of pem dropped support for Python versions older than 3.7. This would cause installation to fail on Python 3.6, for example.

Since both lines now specify the same version of pem, they can be combined into a single requirement without any version specifiers. pip will handle Python version compatibility based on the package metadata, which is the standard practice.

pem==23.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudkms Issues related to the Cloud Key Management Service API. owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants