Bug 2261945 - hypothesmith does not even import in Rawhide: ImportError: cannot import name '_union_intervals' from 'hypothesis.internal.charmap'
Summary: hypothesmith does not even import in Rawhide: ImportError: cannot import name...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-hypothesmith
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard:
: 2261579 (view as bug list)
Depends On: 2148582
Blocks: F40FTBFS 2261579
TreeView+ depends on / blocked
 
Reported: 2024-01-30 13:52 UTC by Miro Hrončok
Modified: 2024-02-01 10:50 UTC (History)
3 users (show)

Fixed In Version: python-hypothesmith-0.3.2-1.fc40
Clone Of:
Environment:
Last Closed: 2024-02-01 06:13:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2024-01-30 13:52:29 UTC
Description of problem:
>>> import hypothesmith
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/hypothesmith/__init__.py", line 3, in <module>
    from hypothesmith.cst import from_node
  File "/usr/lib/python3.12/site-packages/hypothesmith/cst.py", line 24, in <module>
    from hypothesmith.syntactic import identifiers
  File "/usr/lib/python3.12/site-packages/hypothesmith/syntactic.py", line 12, in <module>
    from hypothesis.internal.charmap import _union_intervals
ImportError: cannot import name '_union_intervals' from 'hypothesis.internal.charmap' (/usr/lib/python3.12/site-packages/hypothesis/internal/charmap.py)


Version-Release number of selected component (if applicable):
python3-hypothesis-6.96.1-1.fc40.noarch
python3-hypothesmith-0.2.0-9.fc39.noarch


How reproducible: always


Steps to Reproduce:
1. mock -r fedora-rawhide-x86_64 install python3-hypothesmith
2. mock -r fedora-rawhide-x86_64 shell
3. python3
4. import hypothesmith

Comment 1 Miro Hrončok 2024-02-01 10:50:28 UTC
*** Bug 2261579 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.