Skip to content

Conversation

remram44
Copy link
Member

@remram44 remram44 commented Jul 15, 2016

Namespace packages are a Python feature allowing code from multiple distributions to live under the same namespace. This is used in reprounzip for the unpackers and plugins (respectively reprounzip.unpackers and reprounzip.plugins, both namespace packages); for example, the whole code of reprounzip-vagrant lives in reprounzip.unpackers.vagrant, letting reprounzip and all its related packages still use a single top-level name "reprounzip".

Unfortunately, this has a few issues and is not well supported. In particular, it doesn't work with the resources API, which is why the usagestats certificate is embedded as a string. It also breaks conda-build in interesting ways (the reason I use --single-version-externally-managed).

We could simply move each unpacker/plugin to its own top-level package.

@remram44 remram44 added C-unpacker Component: New unpacker or common unpacker functionalities T-task Type: Something to be done, neither a bugfix nor an enhancement of the code labels Jun 26, 2016
@remram44 remram44 added this to the 1.1 milestone Jun 26, 2016
@remram44 remram44 added the A-pending-review Attention: This is ready for review and can be merged afterwards label Jul 15, 2016
These are not supported very well and break a lot of things; we don't
need them.
@remram44 remram44 merged commit 5343603 into master Nov 16, 2018
@remram44 remram44 deleted the no-namespaces branch November 16, 2018 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-pending-review Attention: This is ready for review and can be merged afterwards C-unpacker Component: New unpacker or common unpacker functionalities T-task Type: Something to be done, neither a bugfix nor an enhancement of the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant