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

Update project to meet PEP-0621 #617

Merged

Conversation

RommelLayco
Copy link
Contributor

About this change - What it does

This update the project to use pep-0621.

Resolves: #xxxxx

Why this way

@RommelLayco RommelLayco requested a review from a team March 13, 2024 21:49
@RommelLayco RommelLayco force-pushed the RommelLayco-build-using-pyproject.toml branch 3 times, most recently from 846e209 to 991f333 Compare March 17, 2024 22:06
@codecov-commenter
Copy link

codecov-commenter commented Mar 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.88%. Comparing base (2b2ea98) to head (fa546e1).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            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     

see 9 files with indirect coverage changes

.PHONY: unittest
unittest: version
unittest: dev-deps

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]"

Copy link
Contributor Author

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

@RommelLayco RommelLayco force-pushed the RommelLayco-build-using-pyproject.toml branch from 991f333 to 59767f6 Compare March 19, 2024 00:55
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.
@RommelLayco RommelLayco force-pushed the RommelLayco-build-using-pyproject.toml branch from 59767f6 to fa546e1 Compare March 19, 2024 01:12
@RommelLayco RommelLayco marked this pull request as draft March 19, 2024 02:15
@RommelLayco RommelLayco marked this pull request as ready for review March 26, 2024 01:36
@facetoe facetoe merged commit 097fb29 into Aiven-Open:main Mar 26, 2024
7 checks passed
"types-requests",
"types-six",
]
contraints = [

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

Copy link
Contributor Author

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

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.

5 participants