Skip to content

Conversation

terencehonles
Copy link
Contributor

This change updates and modernizes the packaging to use hatchling as that is used in the main RQ project.

This fixes deprecation warnings that pip is starting to produce:

DEPRECATION: Building 'django-rq' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of 'django-rq'. Discussion can be found at pypa/pip#6334

fixes: #553

This change updates and modernizes the packaging to use hatchling as
that is used in the main RQ project.
@terencehonles
Copy link
Contributor Author

I built the wheels and sources before and after this change and they look good.

"redis>=3.5",
]
classifiers = [
"Development Status :: 4 - Beta",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to update this?

@selwin
Copy link
Collaborator

selwin commented Jul 27, 2025

Hey @terencehonles thanks for this. Just wanted to check whether this will also fix #716 (comment)

@terencehonles
Copy link
Contributor Author

Hey @terencehonles thanks for this. Just wanted to check whether this will also fix #716 (comment)

It looks like #716 is an issue of when the release was cut. Looking at setup.py at the v3.0.1 tag it does indeed not provide the extra, and looking at the commit history 4ccb412 is only on master and not part of any release.

So this provides the same extras as that commit does, but really just a new release will fix the issue reported in #716

@selwin selwin merged commit fc9a6de into rq:master Jul 31, 2025
17 checks passed
@selwin
Copy link
Collaborator

selwin commented Jul 31, 2025

Thanks!

@terencehonles terencehonles deleted the update-packaging branch July 31, 2025 07:19
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.

“python_requires” should be set with “>=3.4”, as django-rq is not compatible with all Python versions.
2 participants