Skip to content

Conversation

@fnesveda
Copy link
Member

@fnesveda fnesveda commented May 4, 2023

Since we're hiring a new Python engineer hopefully soon, I thought it's time to get rid of some tech debt.

This rewrites the project setup to use pyproject.toml instead of setup.py, as pyproject.toml is the modern, recommended way to specify project metadata, and setup.py is being deprecated.

I've also updated the publication to PyPI to use the official GitHub action, and to use OIDC for authentication instead of an API token.

@fnesveda fnesveda added adhoc Ad-hoc unplanned task added during the sprint. debt Code quality improvement or decrease of technical debt. t-core-services Issues with this label are in the ownership of the core services team. labels May 4, 2023
@fnesveda fnesveda added this to the 62nd sprint - Platform team milestone May 4, 2023
@fnesveda fnesveda requested a review from jirimoravcik May 4, 2023 18:29
@fnesveda fnesveda self-assigned this May 4, 2023
@fnesveda fnesveda merged commit 2498dd4 into master May 5, 2023
@fnesveda fnesveda deleted the feature/rewrite-to-pyproject-toml branch May 5, 2023 07:09
@fnesveda fnesveda added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label May 15, 2023
fnesveda added a commit to apify/apify-sdk-python that referenced this pull request May 23, 2023
Basically the same as
apify/apify-client-python#123.

Since we're hiring a new Python engineer hopefully soon, I thought it's
time to get rid of some tech debt.

This rewrites the project setup to use pyproject.toml instead of
setup.py, as pyproject.toml is the modern, recommended way to specify
project metadata, and setup.py is being deprecated.

I've also updated the publication to PyPI to use the official GitHub
action, and to use OIDC for authentication instead of an API token.

And I've switched the secrets for building Python Actor base Docker
images to use an org-wide GitHub token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. debt Code quality improvement or decrease of technical debt. t-core-services Issues with this label are in the ownership of the core services team. validated Issues that are resolved and their solutions fulfill the acceptance criteria.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants