Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imports, workflows, and coverage #139

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

sarnold
Copy link

@sarnold sarnold commented Sep 16, 2023

We found this useful for another project but it needed a little cleanup (which I was already doing in several other Python repos) and this is the end result, This uses importlib which is more-or-less future-proof, cleans up tests and test coverage, uses the import bits in the docs build, and throws in a release workflow you might find useful. I did a micro.patch release so we could consume/test it and I left some examples here. Thanks!

* add a release workflow, rename test file

Signed-off-by: Stephen L Arnold <[email protected]>
* should not use fork or /tmp for testing, and tests might actually work
  on windows

Signed-off-by: Stephen L Arnold <[email protected]>
@msoulier
Copy link
Owner

I'm not against this, but honestly I had not heard of importlib, and I'm curious about the advantages of using it.

@msoulier
Copy link
Owner

The output from the sdist target is...interesting.
msoulier@cortado:~/work/tftpy$ ls dist tftpy-0.8.2.2.dev4+g4192765.tar.gz

How does one get to a proper release version?

@msoulier msoulier self-assigned this Nov 30, 2024
@msoulier msoulier added the plan to include planning to include pull request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to include planning to include pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants