camelot icon indicating copy to clipboard operation
camelot copied to clipboard

Test session warnings, cryptproveders and downcasting.

Open bosd opened this issue 4 months ago • 0 comments

.nox/tests-3-11/lib64/python3.11/site-packages/pypdf/_crypt_providers/_cryptography.py:32 /home/data/git/camelot-dev/.nox/tests-3-11/lib64/python3.11/site-packages/pypdf/_crypt_providers/_cryptography.py:32: CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. from cryptography.hazmat.primitives.ciphers.algorithms import AES, ARC4

tests/test_hybrid.py::test_hybrid_process_background /home/data/git/camelot-dev/camelot/parsers/hybrid.py:161: FutureWarning: Downcasting behavior in replace is deprecated and will be removed in a future version. To retain the old behavior, explicitly call result.infer_objects(copy=False). To opt-in to the future behavior, set pd.set_option('future.no_silent_downcasting', True) table.df = table.df.replace("", np.nan)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

bosd avatar Aug 10 '25 22:08 bosd