`__main__.py` doesn't work with Python 3.14
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start with main.py and reproduce the failure using the tests from #90 that call python -m zyte_api under Python 3.14. Trace the event-loop setup and verify that invoking the module succeeds on Python 3.14 without breaking supported versions.
Written by the indexing model from the issue text.
Description
As seen in some tests in #90 which call python -m zyte_api, it fails on Python 3.14, where asyncio.get_event_loop() doesn't create a loop if one doesn't exist. So this code needs to be changed.
- Dominant language
- Python
- Stars
- 30
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from zytedata/python-zyte-api
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
zytedata/python-zyte-api#106 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
zytedata/python-zyte-api#57 · 5 comments ·
All issues in zytedata/python-zyte-api
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100