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

Python 3.13 compatibility #305

Open
avatards opened this issue Dec 24, 2024 · 2 comments
Open

Python 3.13 compatibility #305

avatards opened this issue Dec 24, 2024 · 2 comments

Comments

@avatards
Copy link

I have a problem upgrading yahooquery with pip because the newer version requires lxml<5.0.0 which would be incompatible with Python 3.13 and fails to install. Effectively, due to this requirement the compatibility of yahooquery was downgraded from Python 3.13 to 3.12 somewhere between versions 2.3.2 and 2.3.7, perhaps unintentionally.

Please consider removing the upper bound lxml restriction in newer versions of the package so it can be used with Python 3.13.

(Looking at its source, I can see yahooquery is configured for Python 3.8.1+ but Pypi shows 3.12 to be the max version, so I'm not quite sure this has to be a feature request or a bug report.)

@galashour
Copy link

encountered the same issue

@syncoding
Copy link

syncoding commented Jan 20, 2025

similar here. v2.3.7 forces to install lxml 4.9.4 or you have to use v2.3.2 with lxml >= 5 option. This is caused by the lxml="^4.9.3" restriction in the pyproject.toml but it doesn't comply with the dependency entry: python = ">=3.8.1,<4.0". I don't think that a newer version intentionally forces to use an older version of a lib like lxml but I'm not sure if the condition is that. So, please consider to either update the unintentional restriction in the pyproject.toml or (if it's intentional) supporting lxml = ">=4.9.4,<6"

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

No branches or pull requests

3 participants