Page MenuHomeVyOS Platform

Python3 module crypt is deprecated
Closed, ResolvedPublicBUG

Description

It used in https://github.com/vyos/vyos-1x/blob/12b7da289665c75c3839b32c77a491d8909f3e73/src/conf_mode/vpn_openconnect.py#L33

vyos@r14# sudo python3
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> from crypt import crypt
<stdin>:1: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
>>>

Details

Version
VyOS 1.4-rolling-202306050317
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

Viacheslav changed the task status from Open to In progress.Jun 5 2023, 10:37 PM
Viacheslav assigned this task to cuongdt1994.
Viacheslav changed the task status from In progress to Needs testing.Jun 6 2023, 12:01 AM
This comment was removed by cuongdt1994.
dmbaturin edited a custom field.
dmbaturin edited a custom field.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to Internal change (not visible to end users).