#6714 ipaclient.csrgen depends on ipaplatform
Closed: fixed Opened by cheimes.

The ipaclient.csrgen module was added in rev 10ef5947. It introduced a dependency between ipaclient package and ipaplatforms package to get the path to CSR_DATA_DIR. This breaks Python packaging of ipaclient.

Like other package-specific data, the template files should be part of the ipaclient package and accessed through pkg_resources' resource manager API, https://setuptools.readthedocs.io/en/latest/pkg_resources.html#resourcemanager-api


Metadata Update from @cheimes:
- Issue priority set to: 3
- Issue tagged with: integration

master:

  • 80be18162921268be9c8981495c9e8a4de0c85cd Move csrgen templates into ipaclient package
  • 177f07e163d6d591a1e609d35e0a6f6f5347551e Chain CSR generator file loaders

Metadata Update from @dkupka:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.5

Metadata