** Description changed:

+ [ Impact ]
+ 
+ Certain commands defined by the package no longer operate, including
+ cdsitepackages and lssitepackages
+ 
+ [ Test plan ]
+ 
+ On each affected $series:
+ 
+ * sudo apt install virtualenvwrapper
+ * logout, login (the package defines new bash aliases)
+ * mkvirtualenv test
+ * cdsitepackages
+ * Note failure due to "missing package distutils"
+ * deactivate
+ * rmvirtualenv test
+ * Enable proposed sources
+ * sudo apt install -t $series-proposed virtualenvwrapper
+ * logout, login
+ * mkvirtualenv test
+ * cdsitepackages
+ * Note successful change in working directory
+ * cd -
+ * lssitepackages
+ * deactivate
+ * workon test
+ * deactivate
+ * rmvirtualenv test
+ 
+ [ Where things could go wrong ]
+ 
+ The fix could affect other commands defined by the suite, which is why
+ the test-plan exercises the most important after installing the proposed
+ version, including mkvirtualenv, workon, rmvirtualenv, cdsitepackages,
+ and lssitepackages (this is why the virtualenv is re-created and not
+ simply carried over from the failure case).
+ 
+ [ Original description ]
+ 
  On ubuntu noble the cdsitepackages/lssitepackages commands fail with the 
following error:
- $ cdsitepackages 
+ $ cdsitepackages
  Traceback (most recent call last):
-   File "<string>", line 1, in <module>
+   File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named 'distutils'
  
  The cause is the removal of distutils from python 3.12
  https://docs.python.org/3.11/distutils/
  
  Upstream has released an update which uses the sysconfig module.
  
  https://github.com/python-
  
virtualenvwrapper/virtualenvwrapper/commit/05ccf752512c74d212f746017f240c692f848983

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

Title:
  [SRU] python3.12: cdsitepackages and lssitepackages use removed
  distutils package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualenvwrapper/+bug/2071716/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to