Project

General

Profile

Actions

Bug #21206

closed

Deprecation warning with package methods on Ubuntu 22.04 LTS

Added by Nicolas CHARLES over 2 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
108
Name check:
To do
Fix check:
Checked
Regression:

Description

Agent complains with

var/rudder/cfengine-community/modules/packages/apt_get:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
/var/rudder/cfengine-community/modules/packages/apt_get:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
/var/rudder/cfengine-community/modules/packages/apt_get:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
/var/rudder/cfengine-community/modules/packages/apt_get:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion


Subtasks 1 (0 open1 closed)

Bug #21427: Deprecation warning with apt_get module on ubuntu22 - fixReleasedBenoît PECCATTEActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #21606: Broken jinja2 templating on ubuntu 22.04ReleasedNicolas CHARLESActions
Actions #1

Updated by Alexis Mousset over 2 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • UX impact set to I dislike using that feature
  • User visibility set to First impressions of Rudder
  • Effort required set to Very Small
  • Priority changed from 0 to 109

This needs to be sorted out upstream with CFEngine team.

Actions #2

Updated by Alexis Mousset over 2 years ago

Actions #3

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.2.15 to 6.2.16
Actions #5

Updated by Alexis Mousset over 2 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #6

Updated by Alexis Mousset over 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/ncf/pull/1358
Actions #7

Updated by Alexis Mousset over 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #8

Updated by Alexis Mousset over 2 years ago

  • Subtask #21427 added
  • Priority changed from 109 to 108
Actions #9

Updated by Elaad FURREEDAN over 2 years ago

  • Fix check changed from To do to Checked
Actions #10

Updated by Alexis Mousset over 2 years ago

  • Subject changed from Deprecation warning with apt_get module on ubuntu22 to Deprecation warning with package methods on Ubuntu 22.04 LTS
Actions #11

Updated by Alexis Mousset over 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.16, 7.0.5 and 7.1.3 which were released today.

Actions #12

Updated by Alexis Mousset over 2 years ago

  • Related to Bug #21606: Broken jinja2 templating on ubuntu 22.04 added
Actions

Also available in: Atom PDF