Test failure on 3.14
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 681
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
See: https://bugzilla.redhat.com/show_bug.cgi?id=2328016
==================================== ERRORS ====================================
_______________________ ERROR collecting test_mccabe.py ________________________
test_mccabe.py:11: in
import hypothesmith
/usr/lib/python3.14/site-packages/hypothesmith/init.py:3: in
from hypothesmith.cst import from_node
/usr/lib/python3.14/site-packages/hypothesmith/cst.py:20: in
from hypothesis.strategies._internal.types import _global_type_lookup
/usr/lib/python3.14/site-packages/hypothesis/strategies/_internal/types.py:708: in
typing.ByteString: st.binary(), # type: ignore
/usr/lib64/python3.14/typing.py:3831: in getattr
raise AttributeError(f"module {name!r} has no attribute {attr!r}")
E AttributeError: module 'typing' has no attribute 'ByteString'
=========================== short test summary info ============================
ERROR test_mccabe.py - AttributeError: module 'typing' has no attribute 'Byte...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.46s ===============================
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with test_mccabe.py and reproduce test collection under Python 3.14. Trace the import through hypothesmith.cst to Hypothesis' types lookup, using the linked Bugzilla report for context. Done means the suite collects and runs successfully on Python 3.14.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100