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

Bug Report: not working on python 3.13 due to htmlmin dependency that use removed cgi stdlib module #1675

Open
3 tasks done
pietroppeter opened this issue Nov 11, 2024 · 2 comments

Comments

@pietroppeter
Copy link

pietroppeter commented Nov 11, 2024

Current Behaviour

the library does not support python 3.13

Expected Behaviour

it should :)

Data Description

no data involved, but run the script code attached with uv to reproduce

Code that reproduces the bug

# /// script
# requires-python = ">=3.13"
# dependencies = [
#     "ydata-profiling",
# ]
# ///

# run this script with `uv run --script script.py` to reproduce

if __name__ == "__main__":
    import ydata_profiling

pandas-profiling version

trying to install the latest

Dependencies

the dependency that is broken is htmlmin, which use the stdlib module cgi which was deprecated in python 3.11 and removed in python 3.13. As per this issue a safer dependency seems to be htmlmin2

(i know this is not what I should put in this issue template, but it seemed useful information that should end up somewhere)

OS

No response

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.
@pietroppeter
Copy link
Author

note that I found a related issue to python 3.13 compatibility #1419 but this is related to a new package, so I thought it could use another issue. Feel free to close this and incorporate the information in that issue (to fix for python 3.13 support you need to fix at least those two things)

@viv-tech
Copy link

viv-tech commented Dec 18, 2024

i am getting this error when trying with pandas-profiling in python 3.13. but for ydata-profiling i am getting version error like this:
ERROR: Ignored the following versions that require a different python version: 4.0.0 Requires-Python >=3.7, <3.11; 4.1.0 Requires-Python >=3.7, <3.12; 4.1.1 Requires-Python >=3.7, <3.12; 4.1.2 Requires-Python >=3.7, <3.12; 4.10.0 Requires-Python <3.13,>=3.7; 4.11.0 Requires-Python <3.13,>=3.7; 4.12.0 Requires-Python <3.13,>=3.7; 4.12.1 Requires-Python <3.13,>=3.7; 4.2.0 Requires-Python >=3.7, <3.12; 4.3.0 Requires-Python >=3.7, <3.12; 4.3.1 Requires-Python >=3.7, <3.12; 4.3.2 Requires-Python >=3.7, <3.12; 4.4.0 Requires-Python >=3.7, <3.12; 4.5.0 Requires-Python >=3.7, <3.12; 4.5.1 Requires-Python >=3.7, <3.12; 4.6.0 Requires-Python >=3.7, <3.12; 4.6.1 Requires-Python >=3.7, <3.12; 4.6.2 Requires-Python >=3.7, <3.12; 4.6.3 Requires-Python >=3.7, <3.12; 4.6.4 Requires-Python >=3.7, <3.12; 4.6.5 Requires-Python >=3.7, <3.12; 4.7.0 Requires-Python >=3.7, <3.13; 4.8.3 Requires-Python <3.13,>=3.7; 4.9.0 Requires-Python <3.13,>=3.7
ERROR: Could not find a version that satisfies the requirement ydata-profiling==4.8.3 (from versions: none)
ERROR: No matching distribution found for ydata-profiling==4.8.3

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

No branches or pull requests

3 participants