Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for Python 3.13.0 compatibility #481

Open
decaz opened this issue Oct 23, 2024 · 2 comments
Open

Release for Python 3.13.0 compatibility #481

decaz opened this issue Oct 23, 2024 · 2 comments

Comments

@decaz
Copy link

decaz commented Oct 23, 2024

While using latest CPython 3.13.0 I'm seeing the following deprecation warning:

.venv/lib/python3.13/site-packages/feedparser/html.py:152: DeprecationWarning: 'count' is passed as positional argument
data = re.sub(r'<!((?!DOCTYPE\|--\|\[))', r'&lt;!\1', data, re.IGNORECASE)

I guess it causes bug in that case, because the flag is being passed instead of count.

@kurtmckee I see #389 fixed this but wasn't released yet. Could you release latest version with this merged fix inside please?

@decaz
Copy link
Author

decaz commented Dec 20, 2024

@kurtmckee do you have any updates or plans for release?

@dryya
Copy link

dryya commented Jan 24, 2025

I know it'll be ready when it's ready, but I would also love to see a new release cut to take advantage of py3.13 support and static typing. It looks like there haven't been many code changes for the past few months, and in my minimal testing with feedparser built from latest develop, the current state of the code seems good to go! Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants