-
Notifications
You must be signed in to change notification settings - Fork 98
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
Update project to meet PEP-0621 #617
Update project to meet PEP-0621 #617
Conversation
846e209
to
991f333
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #617 +/- ##
==========================================
- Coverage 91.10% 90.88% -0.22%
==========================================
Files 32 31 -1
Lines 4823 4917 +94
==========================================
+ Hits 4394 4469 +75
- Misses 429 448 +19 |
.PHONY: unittest | ||
unittest: version | ||
unittest: dev-deps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to understand it better, the dev-deps instead of version with run this section?
dev-deps:
pip install .
pip install ".[dev]"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeap. as i needed the dependencies installed to run things like unittest etc
991f333
to
59767f6
Compare
Currently we use a custom a script to generate a version for this project. Migrate the definition of the project to a pyproject.toml to meet python standards and allow us to use build tool like hatch which will generate the version for the package.
59767f6
to
fa546e1
Compare
"types-requests", | ||
"types-six", | ||
] | ||
contraints = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if this is used for anything, but you have a spelling error here, contraints
-> constraints
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yeah this is used in the github workflow. i will fix
About this change - What it does
This update the project to use pep-0621.
Resolves: #xxxxx
Why this way