[Bug 2022372] [NEW] Backport for deprecated int_from_bytes to int.from_bytes

Heather Lemon 2022372 at bugs.launchpad.net
Fri Jun 2 15:49:00 UTC 2023


Public bug reported:

[ Impact ]

A method from cryptographic_utils was deprecated and replaced.
We are cherry-picking 2 commits from upstream, ad7c45e493fff48f897487d6aff63f4fff021d31 and 08c7010322ecec0de1e51cc51d5ed9db34a38aa3 to address the unnecessary logging when using any openstack command, or automating the install/upgrade of services on OpenStack.

It also deprecates the usage of utils.int_from_bytes: pyca/cryptography#5609
int_from_bytes is deprecated in favor of int.from_bytes which ships with Python 3

[ Test Plan ]

Run full unit test suit
test with an openstack instance and tail/observe logging.

[ Where problems could occur ]

This does not include the cryptography module update which python3-secretstorage depends on
Build-Depends: debhelper-compat (= 13),
               dh-python,
               python3-all
               python3-cryptography,
               python3-jeepney
               python3-setuptools,
               python3-sphinx

The impact is low as this fixes a deprecated 3rd party library.

[ Other Info ]

upstream debian link - https://salsa.debian.org/python-team/packages/python-secretstorage/-/commit/e24df79cf7d62f11c2906d5aa0f4885cefeafbbf
Github conversation link - https://github.com/mitya57/secretstorage/pull/27
upstream cherrypick author other - https://github.com/mitya57/secretstorage/pull/27

** Affects: python-secretstorage (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [ Impact ]
  
- A method from cryptographic_utils was deprecated and replaced. 
- We are cherry-picking 2 commits from upstream, ad7c45e493fff48f897487d6aff63f4fff021d31 and 08c7010322ecec0de1e51cc51d5ed9db34a38aa3 to address the unnecessary logging when using any openstack command, or automating the install/upgrade of services on OpenStack. 
+ A method from cryptographic_utils was deprecated and replaced.
+ We are cherry-picking 2 commits from upstream, ad7c45e493fff48f897487d6aff63f4fff021d31 and 08c7010322ecec0de1e51cc51d5ed9db34a38aa3 to address the unnecessary logging when using any openstack command, or automating the install/upgrade of services on OpenStack.
  
  It also deprecates the usage of utils.int_from_bytes: pyca/cryptography#5609
  int_from_bytes is deprecated in favor of int.from_bytes which ships with Python 3
  
  [ Test Plan ]
  
- Run full unit test suit 
- test with an openstack instance and tail/observe logging. 
+ Run full unit test suit
+ test with an openstack instance and tail/observe logging.
  
  [ Where problems could occur ]
  
- This does not include the cryptography module update which python3-secretstorage depends on 
+ This does not include the cryptography module update which python3-secretstorage depends on
  Build-Depends: debhelper-compat (= 13),
-                dh-python,
-                python3-all 
-                python3-cryptography,
-                python3-jeepney
-                python3-setuptools,
-                python3-sphinx 
+                dh-python,
+                python3-all
+                python3-cryptography,
+                python3-jeepney
+                python3-setuptools,
+                python3-sphinx
  
  The impact is low as this fixes a deprecated 3rd party library.
  
+ [ Other Info ]
  
- [ Other Info ]
-  
- upstream debian link - https://salsa.debian.org/python-team/packages/python-secretstorage/-/commit/e24df79cf7d62f11c2906d5aa0f4885cefeafbbf 
+ upstream debian link - https://salsa.debian.org/python-team/packages/python-secretstorage/-/commit/e24df79cf7d62f11c2906d5aa0f4885cefeafbbf
  Github conversation link - https://github.com/mitya57/secretstorage/pull/27
+ upstream other - https://github.com/mitya57/secretstorage/pull/27

** Description changed:

  [ Impact ]
  
  A method from cryptographic_utils was deprecated and replaced.
  We are cherry-picking 2 commits from upstream, ad7c45e493fff48f897487d6aff63f4fff021d31 and 08c7010322ecec0de1e51cc51d5ed9db34a38aa3 to address the unnecessary logging when using any openstack command, or automating the install/upgrade of services on OpenStack.
  
  It also deprecates the usage of utils.int_from_bytes: pyca/cryptography#5609
  int_from_bytes is deprecated in favor of int.from_bytes which ships with Python 3
  
  [ Test Plan ]
  
  Run full unit test suit
  test with an openstack instance and tail/observe logging.
  
  [ Where problems could occur ]
  
  This does not include the cryptography module update which python3-secretstorage depends on
  Build-Depends: debhelper-compat (= 13),
                 dh-python,
                 python3-all
                 python3-cryptography,
                 python3-jeepney
                 python3-setuptools,
                 python3-sphinx
  
  The impact is low as this fixes a deprecated 3rd party library.
  
  [ Other Info ]
  
  upstream debian link - https://salsa.debian.org/python-team/packages/python-secretstorage/-/commit/e24df79cf7d62f11c2906d5aa0f4885cefeafbbf
  Github conversation link - https://github.com/mitya57/secretstorage/pull/27
- upstream other - https://github.com/mitya57/secretstorage/pull/27
+ upstream cherrypick author other - https://github.com/mitya57/secretstorage/pull/27

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-secretstorage in Ubuntu.
https://bugs.launchpad.net/bugs/2022372

Title:
  Backport for deprecated int_from_bytes to int.from_bytes

Status in python-secretstorage package in Ubuntu:
  New

Bug description:
  [ Impact ]

  A method from cryptographic_utils was deprecated and replaced.
  We are cherry-picking 2 commits from upstream, ad7c45e493fff48f897487d6aff63f4fff021d31 and 08c7010322ecec0de1e51cc51d5ed9db34a38aa3 to address the unnecessary logging when using any openstack command, or automating the install/upgrade of services on OpenStack.

  It also deprecates the usage of utils.int_from_bytes: pyca/cryptography#5609
  int_from_bytes is deprecated in favor of int.from_bytes which ships with Python 3

  [ Test Plan ]

  Run full unit test suit
  test with an openstack instance and tail/observe logging.

  [ Where problems could occur ]

  This does not include the cryptography module update which python3-secretstorage depends on
  Build-Depends: debhelper-compat (= 13),
                 dh-python,
                 python3-all
                 python3-cryptography,
                 python3-jeepney
                 python3-setuptools,
                 python3-sphinx

  The impact is low as this fixes a deprecated 3rd party library.

  [ Other Info ]

  upstream debian link - https://salsa.debian.org/python-team/packages/python-secretstorage/-/commit/e24df79cf7d62f11c2906d5aa0f4885cefeafbbf
  Github conversation link - https://github.com/mitya57/secretstorage/pull/27
  upstream cherrypick author other - https://github.com/mitya57/secretstorage/pull/27

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-secretstorage/+bug/2022372/+subscriptions




More information about the foundations-bugs mailing list