-
Notifications
You must be signed in to change notification settings - Fork 71
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
Migrate to pyproject toml #947
Conversation
3d3f5fa
to
9cd287f
Compare
9cd287f
to
0d8bec6
Compare
0d8bec6
to
e51b148
Compare
e51b148
to
f928bde
Compare
8cf0213
to
cca1197
Compare
cca1197
to
03cb394
Compare
The JSON serialization tests failed. This seems, to me, like an odd one to fail. Does this change impact JSON serialization or is the JSON serialization test flaky? |
@Claudenw config file reading and parsing failed. The file (fixture) is created here: https://github.com/Aiven-Open/karapace/blob/main/tests/conftest.py#L163 |
fc23c8c
to
0a4e8d2
Compare
00e7ae9
to
9989b50
Compare
pip install -r ./requirements/requirements-dev.txt | ||
pip install -e . | ||
pip install . | ||
pip install -e .[dev,typing] |
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.
In my zsh terminal I had to add quotes because of the squared brackets:
pip install -e ".[dev,typing]"
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.
LGTM 👍
9989b50
to
d2cc568
Compare
About this change - What it does
First commit migrates to use
pyproject.toml
. Build backend is still thesetuptools
.Karapace install:
pip install .
Editable install for development:
pip install -e .[dev,typing] Building the wheel:
python -m buildPinning of dependencies to:
make pin-requirements. Pinning runs the
pip-compilein a Python 3.8 container. Version is now created by
setuptools-scm` from git state and is PEP compliant.The second commit migrates to source layout.
The third commit cleans the Github links from
aiven
organization toAiven-Open
.The fourth commit removes the
pyenv
requirement. Proposal is to implement and usetox
later on for multiversion testing locally.References: #xxxxx
Why this way