Skip to content

Conversation

@cchris28
Copy link
Collaborator

@cchris28 cchris28 commented Jun 4, 2023

This documents a manual conversion of a python-project-template to a namespace project.

@cchris28 cchris28 requested a review from delucchi-cmu June 4, 2023 22:23
@cchris28 cchris28 linked an issue Jun 4, 2023 that may be closed by this pull request
@drewoldag
Copy link
Collaborator

drewoldag commented Jun 5, 2023

Looks like the version of copier has been updated to 8.0.0 (at the time of writing this, it happened 12 hours ago). Here's a list of the changes: https://github.com/copier-org/copier/releases/tag/v8.0.0

It seems like we need to change the command that we're using to generate the projects.

In particular line 85 of ci.yml looks like it needs to be changed from this:
copier --vcs-ref HEAD --defaults ${{ matrix.copier_config.extra_flags }} copy ./ ../test/${{ matrix.copier_config.foldername }}
to this:
copier copy ./ ../test/${{ matrix.copier_config.foldername }} --vcs-ref HEAD --defaults ${{ matrix.copier_config.extra_flags }}

The difference being that the copy subcommand comes before flags. At least that's what I'm getting from the release notes without actually trying it on the command line.

cchris28 and others added 5 commits June 5, 2023 07:47
Co-authored-by: Melissa DeLucchi <113376043+delucchi-cmu@users.noreply.github.com>
Co-authored-by: Melissa DeLucchi <113376043+delucchi-cmu@users.noreply.github.com>
Co-authored-by: Melissa DeLucchi <113376043+delucchi-cmu@users.noreply.github.com>
@cchris28 cchris28 merged commit 5f98e49 into main Jun 5, 2023
@cchris28 cchris28 deleted the cchris28/namespace-project-docs branch June 5, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adapt template for use with python namespace packages

4 participants