Skip to content

Conversation

@bosd
Copy link
Collaborator

@bosd bosd commented Aug 11, 2025

This commit addresses two warnings that appear during the test session:

  1. A FutureWarning in camelot/parsers/hybrid.py related to the
    downcasting behavior of pandas.DataFrame.replace. The code has been
    refactored to avoid the use of replace with np.nan and instead
    uses a more direct method to remove empty rows and columns.

  2. A CryptographyDeprecationWarning originating from the pypdf
    dependency. This warning is suppressed by setting the
    PYTHONWARNINGS environment variable in the noxfile.py for the
    test session. This approach is used because filtering the warning
    via pytest.ini is not feasible due to the way the warning is
    raised.

Fixes #612

(Sorry for the messy grouping of issues. I am testing / fighting the 🤖
Whats matter most is that we are still progressing again in this repo.)

@bosd bosd added the bug Something isn't working label Aug 11, 2025
@bosd bosd force-pushed the revert-license-change branch from 8655b7d to 5147ddb Compare August 11, 2025 16:33
Fixes #585 index error list index out of range
@bosd bosd force-pushed the revert-license-change branch from 5147ddb to 745bd2f Compare August 12, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test session warnings, cryptproveders and downcasting.

2 participants