jaraco / jaraco/jaraco.context

v6.1.2 breaks Python 3.9: ‘invalid operand’ error on keyring?

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hi,
I tested your keyring implementation about two hours ago on Python 3.9 and 3.13, and it worked on both. Running it again now on 3.9 results in an “invalid operand” error (introduced in 3.10, so not valid for 3.9).

This suggests that a recent release may have introduced a compatibility issue with Python 3.9? I see you dropped 3.9 support for the context repo in the latest commits, but pip still claims keyring works on >=3.9 so I was a little confused.

I only started working with this a few hours ago, so I may be mistaken. I wanted to report this in case it’s useful. Pinning the dependency to jaraco.context<6.1.2 fixed it for me.

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the “invalid operand” error with keyring on Python 3.9 and compare it with Python 3.13. Inspect the dependency change around jaraco.context 6.1.2 and the effect of pinning jaraco.context<6.1.2; done means the reported keyring workflow works on Python 3.9 without that pin.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.