Skip to content

Modern python structure#29

Open
LecrisUT wants to merge 6 commits into
aradi:mainfrom
LecrisUT:python/modern
Open

Modern python structure#29
LecrisUT wants to merge 6 commits into
aradi:mainfrom
LecrisUT:python/modern

Conversation

@LecrisUT

@LecrisUT LecrisUT commented Jul 5, 2023

Copy link
Copy Markdown
  • PEP621
  • src-layout
  • move the executable to script installation
  • expose fypp to be run as python -m fypp
  • Modern pytest structure (Postponed for later)
  • Better Sphinx support (Postponed for later)
  • Github action CI

@LecrisUT LecrisUT force-pushed the python/modern branch 2 times, most recently from 6978dec to 78a0436 Compare September 8, 2023 08:36
@LecrisUT LecrisUT marked this pull request as ready for review September 8, 2023 09:38
@LecrisUT

LecrisUT commented Sep 8, 2023

Copy link
Copy Markdown
Author

@aradi Could you enable the actions for this PR?

Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
@eduardz1

eduardz1 commented May 5, 2025

Copy link
Copy Markdown

Is there anything else to do to merge this PR? Would it be possible to help?

@LecrisUT LecrisUT left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eduardz1 if you want to take over this PR and break it up in smaller chunks, I believe it would help here. I can offer assistance with reviews and offer any suggestions for improvements. Currently my attention is split across too many projects so I can't actively work on this right now.

Comment thread .git_archival.txt
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
ref-names: $Format:%D$

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ref-names: $Format:%D$

This line must be removed

Comment thread .github/dependabot.yml
@@ -0,0 +1,7 @@
version: 2
updates:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After having had more experience, I would now recommend against dependabot for projects that are not in constant sprint. Instead renovatebot is a much better solution that adapts better to the particular project's development cadence.

with:
ref: ${{ inputs.ref }}
- name: Build package
run: pipx run build

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow should be revisited to use hynek/build-and-inspect-python-package

@aradi

aradi commented May 5, 2025

Copy link
Copy Markdown
Owner

Sorry, I was really distracted from Fypp lately due to other projects.

@eduardz1 Welcome on board and thanks for your interest. I'd wish to have smaller PR's as @LecrisUT suggested. Especially, because this one changes several stuff at the same time: Packaging, testing and introduces even an API-break (by using ArgumentParser instead of OptionParser). It would make sense to discuss those separately (I am for example not that much convienced about the API-break).

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.

3 participants