Split reviewboard.extensions.packaging into sub-modules.

Review Request #14139 — Created Sept. 3, 2024 and updated

Information

Review Board
release-7.1.x

Reviewers

In preparation for new extension packaging work, required for changes
coming in Python's packaging ecosystem, we're now splitting up
reviewboard.extensions.packaging into new setuptools_backend and
static_media modules. This mirrors the type of move we did back in
Djblets 5.

The old imports will continue to work, but with deprecation warnings.

Successfully built extension packages. Saw the deprecation warning
but verified the packages built fine.

Summary ID
Split reviewboard.extensions.packaging into sub-modules.
In preparation for new extension packaging work, required for changes coming in Python's packaging ecosystem, we're now splitting up `reviewboard.extensions.packaging` into new `setuptools_backend` and `static_media` modules. This mirrors the type of move we did back in Djblets 5. The old imports will continue to work, but with deprecation warnings.
eb3030ac0d078d769792b1b00365968436cb3705
Description From Last Updated

'typing.Any' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

'typing.Optional' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

'from setuptools.build_meta import *' used; unable to detect undefined names Column: 1 Error code: F403

reviewbotreviewbot

'setuptools.build_meta.*' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

This module docstring can be more specific. Maybe "Setuptools backend support for building Review Board extensions."?

maubinmaubin

This one can also be more specific. How about "A builder for static media files."? (Copied from Djblets)

maubinmaubin
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
Review request changed
Change Summary:

Removed unused imports.

Commits:
Summary ID
Split reviewboard.extensions.packaging into sub-modules.
In preparation for new extension packaging work, required for changes coming in Python's packaging ecosystem, we're now splitting up `reviewboard.extensions.packaging` into new `setuptools_backend` and `static_media` modules. This mirrors the type of move we did back in Djblets 5. The old imports will continue to work, but with deprecation warnings.
ca118776b411372cd8b4e8c599ee4fafb66325da
Split reviewboard.extensions.packaging into sub-modules.
In preparation for new extension packaging work, required for changes coming in Python's packaging ecosystem, we're now splitting up `reviewboard.extensions.packaging` into new `setuptools_backend` and `static_media` modules. This mirrors the type of move we did back in Djblets 5. The old imports will continue to work, but with deprecation warnings.
eb3030ac0d078d769792b1b00365968436cb3705

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
maubin
  1. 
      
  2. Show all issues

    This module docstring can be more specific. Maybe "Setuptools backend support for building Review Board extensions."?

  3. Show all issues

    This one can also be more specific. How about "A builder for static media files."? (Copied from Djblets)

  4.