Skip to content

Move Harmonica to a src layout#648

Draft
santisoler wants to merge 15 commits intomainfrom
src-layout
Draft

Move Harmonica to a src layout#648
santisoler wants to merge 15 commits intomainfrom
src-layout

Conversation

@santisoler
Copy link
Copy Markdown
Member

@santisoler santisoler commented Mar 25, 2026

  • Start moving Harmonica to src layout
  • Update pyproject.toml and .gitignore
  • First pass updating the Makefile
  • Fix path to tests in pyproject.toml
  • Replace relative imports to absolute imports in tests

TODO:

Move package into a new `src` folder. Move tests out of the source
folder to the root of the repo.
Update `pyproject.toml` to use the new src layout. Update path to
`_version.py` in `.gitignore`.
Replace relative imports of harmonica objects for absolute one in tests.
Discover tests by path and not by interpreting arguments as packages.
Reorder arguments for pytest runs to be clearer.
Let's see if having a src-layout solves issues of converting coverage
reports to HTML that we are having in #1830
@santisoler
Copy link
Copy Markdown
Member Author

santisoler commented Mar 25, 2026

TODO:

@santisoler santisoler added this to the v0.8.0 milestone Mar 26, 2026
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.

1 participant