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

pandas / openpyxl version conflict #48

Open
justmobilize opened this issue Oct 22, 2024 · 0 comments
Open

pandas / openpyxl version conflict #48

justmobilize opened this issue Oct 22, 2024 · 0 comments

Comments

@justmobilize
Copy link

Hello! I have a dependency with pandas for reading xlsx files that requires:

Pandas requires version '3.1.0' or newer of 'openpyxl' (version '3.0.10' currently installed).

This change was merged roughly a year ago

Looking at the change log for openpyxl, it doesn't look like pinning to 3.1.0 from 3.0.10 (which is the next release) would cause any issues.

You are using it the same way I am (so the deprecations, should have zero effect):

    df = pd.read_excel(
        xls,
        sheet_name=sheet,
        usecols=[value, label],
        names=[col for col, _ in sorted(cols.items(), key=operator.itemgetter(1))],
        dtype=(str, str),
        header=header,
        skiprows=skiprows_list,
        engine="openpyxl",
    )

I'm happy to create a PR to update this, if it would be accepted

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

1 participant