urbanplatform / django-keycloak-auth

Middleware to allow authorization using Keycloak and Django for django-rest-framework (DRF). This package should only be used in projects starting from scratch, since it overrides the users' management.
MIT License
32 stars 14 forks source link

Fix package publishing #43

Closed moritz89 closed 1 year ago

moritz89 commented 1 year ago

@uw-rvitorino To publish v2 of the package the following has to be fixed

Describe the bug Moved to Poetry as the dependency / packaging tool but the GitHub action still uses the legacy method.

Guide to update the python-publish.yml action file: https://python-poetry.org/docs/libraries/#packaging

It should just be:

  1. poetry build
  2. poetry publish

poetry publish has been tested to work locally.

uw-rvitorino commented 1 year ago

Do you mean doing it manually in the command-line?

moritz89 commented 1 year ago

Seems to work just fine. Was worried that the new format in pyproject.toml wouldn't work with the existing publishing pipeline