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

[deps] Add poetry support #531

Merged
merged 3 commits into from
Mar 15, 2022
Merged

[deps] Add poetry support #531

merged 3 commits into from
Mar 15, 2022

Conversation

jjmerchante
Copy link
Contributor

This PR makes the following changes:

  • Change the commands from scripts to entrypoints to be in the package to support Poetry.
  • Remove Python 3.6 support because the support ended on 23 Dec 2021. Now support 3.7, 3.8 and 3.9.
  • Add Poetry support for installing locally and building the package.
  • Fix tests

This commit adds the support for sirmordred commands
to work as entrypoint. This is needed to make the
installation of Poetry.

Script name will remain the same for better compability
with old version (micro.py, healthcheck.py and panels_config.py)

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
After using pyproject.yml in grimoirelab-elk,
pip install requirements needs that url packages
have the same syntax with the same branch and not in
editable mode.
This commit fixes the dependencies that conflicts
with the new mode.
In future releases requirements.txt file will be
deprecated and poetry will be used so this is a
temporal fix.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
This commit adds the files required to add Poetry
support to Sirmordred. For installing and building
the package.

Signed-off-by: Jose Javier Merchante <jjmerchante@bitergia.com>
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.

2 participants