Sitelet https://github.com/vertica/vertica-python/pull/485
Skip to content

deprecate crypt package - #485

Merged
sitingren merged 1 commit into
vertica:masterfrom
sitingren:crypt
Jan 30, 2023
Merged

sitingren merged 1 commit into
vertica:masterfrom
sitingren:crypt

Conversation

@sitingren

Copy link
Copy Markdown
Contributor

This is a change regarding the DeprecationWarning found in Python 3.11 tests.

../vertica_python/vertica/messages/frontend_messages/password.py:49: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
    import crypt

@sitingren
sitingren merged commit 11f95fe into vertica:master Jan 30, 2023
@sitingren
sitingren deleted the crypt branch January 30, 2023 06:29
arikfr added a commit to getredash/redash that referenced this pull request Sep 27, 2026
vertica-python 1.1.1 unconditionally imports the standard-library `crypt`
module on non-Windows platforms. Python 3.13 removed `crypt` (PEP 594), so
`import vertica_python` raises ModuleNotFoundError, `Vertica.enabled()`
returns False and the data source silently disappears from Redash.

vertica-python dropped the `crypt` dependency in 1.3.0 (vertica/vertica-python#485)
and 1.4.0 is the latest release on PyPI. It keeps the same dependencies
(python-dateutil, six) and the same data type OIDs used by `types_map`.

Fixes #7801

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Arik Fraimovich <arik@arikfr.com>
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

Successfully merging this pull request may close these issues.

1 participant