bugGNU Health - Bugs: bug #62154, Missing dependency: defusedxml

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #62154: Missing dependency: defusedxml

Submitter:  Gerald Wiese <gerald_wiese>
Submitted:  Tue 08 Mar 2022 10:59:18 AM UTC
   
 
Category:  Tryton Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  4.0.0
Module:  health Component:  None

Tue 08 Mar 2022 04:11:04 PM UTC, comment #5: 

Fixed in https://hg.savannah.gnu.org/hgweb/health/rev/0b8e70c666ca

I have also created a new version for gnuhealth-setup and gnuhealth-control.

The latest progressbar was also having issues, so I pinned it to the latest working version.

The new 4.0.1 release is now ready at GNU.org and PyPI :)

Bests
Luis

Luis Falcon <meanmicio>
Group administrator
Tue 08 Mar 2022 01:01:34 PM UTC, comment #4: 

The GH control center and gnuhealth-setup work by getting the latest version of the library, unless specifically pinned.

So, in cases like beren / apiron / pycountry, we are now pinning them to a specific version that makes it compatible with Python 3.6.

So, for  pycountry, wi'll set it to 20.7.3 and we should be OK.

Please confirm

Luis Falcon <meanmicio>
Group administrator
Tue 08 Mar 2022 12:54:45 PM UTC, comment #3: 

The Tryton 6.0 series now wants a pycountry version <= 20.7.3. That should be OK for conservative Distros like Debian or Leap, but not for Arch or Tumbleweed.
I saw a patch in https://bugs.tryton.org/issue11128 that should make it work with pycountry 22.1.10, but drops support for Python 3.6 (which is still used in some conservative Distros). Will look into this when I have time

Axel Braun <coogor>
Tue 08 Mar 2022 12:42:24 PM UTC, comment #2: 

Thanks,  Gerald and Axel!

I'm including a new gnuhealth-setup, gnuhealth-control as standalone packages and included in the 4.0.1 tarball (BTW, this time will be compressed :D ).

@Axel, should we force an specific version for pycountry to avoid the issue you mention? Which is the latest known to work pycountry?

Bests
Luis



Luis Falcon <meanmicio>
Group administrator
Tue 08 Mar 2022 11:03:40 AM UTC, comment #1: 

Yes, this dependency came with the security update in trytond some days ago and is already included in the openSUSE packages:
https://discuss.tryton.org/t/security-release-for-issue11219-and-issue11244/5059

As a heads-up: trytond_country does not work with the latest python-pycountry and ISO codes. This will probably just affect you on a very recent/rolling release.

Axel Braun <coogor>
Tue 08 Mar 2022 10:59:18 AM UTC, original submission:  

It seems like pip package defusedxml is a missing dependency in vanilla installation. Scripts for 3.8 that worked before break caused by this error and for 4.0 it happens as well. Calling "python3 trytond-admin -d health --all" leads to ModuleNotFoundError No module named 'defusedxml'.
"pip3 install defusedxml" as gnuhealth user solves the problem.

Gerald Wiese <gerald_wiese>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by coogor (Posted a comment)
  • -email is unavailable- added by gerald_wiese (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-08 meanmicio Open/ClosedOpen Closed
    2022-03-08 meanmicio StatusNeed Info Fixed
        Assigned toNone meanmicio
        ReleaseNone 4.0.0
    2022-03-08 meanmicio StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code