Skip to content

Replacing unmaintained suds-jurko package #6322

Description

@chrisburr

Some background

The suds-jurko package used by DIRAC was a fork of the original suds package. At some point suds-jurko stopped being maintained and now suds-community has been created. The suds-community package has now gained access to the original suds name on PyPI are currently releasing under both names. When suds 2.0.0 is released they intend to stop using suds-community and only use suds. All three of this packages provide a import suds which behaves similarlly.

Why is the is a problem for DIRAC

For Python 3 releases of DIRAC we install using pip. This results in pip resolving all dependencies and installing any packages which are missing. As we almost always install on top of DIRACOS pip install doesn't actually end up installing any dependencies.

As suds-jurko/suds-community/suds have different names pip thinks they're all totally unrelated packages (as the import name(s) is/are independent of the package name). We can change DIRAC to depend on suds however in DIRACOS2 we can't provide both as they use the same import name (i.e. files) and will "clobber" each other. We also can't let pip install suds-jerko as setuptools dropped support for the use_2to3 flag about a year ago and pip install suds-jerko no longer works.

Proposed solution

  1. Depend on suds in rel-v7r2/rel-v7r3/integration
  2. To make pip think that suds-jerko is already installed we can add a conda package (suds-jurko-compat) which provides a suds-jerko package but which actually depends on suds. This will set up the Python package metadata for suds-jerko without needing to have multiple packages clobbering each other.

Implementation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions