codes.open is deprecated in python3.14
Nobody has claimed this yet.
- #27 by @pes10k — closed without merging
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 52/100
Research direction
Start in publicsuffix2/init.py at the warning location around line 86, where codecs.open reads the PSL file. Replace the deprecated usage with the supported Python open() behavior and check whether the codecs import is still needed. Done means the package no longer emits this Python 3.14 deprecation warning and the existing tests pass.
Written by the indexing model from the issue text.
Description
Depreciation warning in python3:
<omitted>/lib/python3.14/site-packages/publicsuffix2/__init__.py:86: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
with codecs.open(psl_file or PSL_FILE, 'r', encoding='utf8') as psl:
- Dominant language
- Python
- Stars
- 31
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 aboutcode-org/python-publicsuffix2
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
aboutcode-org/python-publicsuffix2#23 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
aboutcode-org/python-publicsuffix2#21 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
aboutcode-org/python-publicsuffix2#18 · 6 comments ·
All issues in aboutcode-org/python-publicsuffix2
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mohanraj00/entelos#200 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
sweep
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
bketelsen/truenas-mcp#77 ·
Maintainers usually reply within 1 day
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOpen
Difficulty 1/5 Under an hour Newbie friendliness 86/100
sandbox-quantum/switch#2163 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
openedx/xblock-lti-consumer#765 ·
Maintainers usually reply within 1 day