Skip to content

Remove _test suffix from package name for test channel builds (#5502)#5502

Closed
gchalump wants to merge 1 commit into
pytorch:mainfrom
gchalump:export-D97372813
Closed

Remove _test suffix from package name for test channel builds (#5502)#5502
gchalump wants to merge 1 commit into
pytorch:mainfrom
gchalump:export-D97372813

Conversation

@gchalump
Copy link
Copy Markdown
Contributor

@gchalump gchalump commented Mar 20, 2026

Summary:

X-link: https://github.com/facebookresearch/FBGEMM/pull/2474

When building FBGEMM_GPU with the "test" package channel (e.g. for PyPI release
validation), the package name incorrectly included a _test suffix
(e.g. fbgemm_gpu_test-1.6.0rc1-cp310-cp310-manylinux_2_28_x86_64.whl).

This changes the condition in setup.py package_name() so that only the
"nightly" channel appends a channel suffix (_nightly). Both "test" and
"release" channels now produce the clean package name fbgemm_gpu.

Reviewed By: spcyppt, q10

Differential Revision: D97372813

@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Mar 20, 2026

@gchalump has exported this pull request. If you are a Meta employee, you can view the originating Diff in D97372813.

@meta-cla meta-cla Bot added the cla signed label Mar 20, 2026
@meta-codesync meta-codesync Bot changed the title Remove _test suffix from package name for test channel builds Remove _test suffix from package name for test channel builds (#5502) Mar 20, 2026
@gchalump gchalump force-pushed the export-D97372813 branch 3 times, most recently from d137455 to 9febed4 Compare March 20, 2026 18:17
Summary:
Pull Request resolved: #5502

X-link: https://github.com/facebookresearch/FBGEMM/pull/2474

When building FBGEMM_GPU with the "test" package channel (e.g. for PyPI release
validation), the package name incorrectly included a `_test` suffix
(e.g. `fbgemm_gpu_test-1.6.0rc1-cp310-cp310-manylinux_2_28_x86_64.whl`).

This changes the condition in `setup.py` `package_name()` so that only the
"nightly" channel appends a channel suffix (`_nightly`). Both "test" and
"release" channels now produce the clean package name `fbgemm_gpu`.

Reviewed By: spcyppt, q10

Differential Revision: D97372813
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Mar 21, 2026

This pull request has been merged in 168eb9a.

gchalump added a commit that referenced this pull request Mar 25, 2026
Summary:
Pull Request resolved: #5502

X-link: facebookresearch/FBGEMM#2474

When building FBGEMM_GPU with the "test" package channel (e.g. for PyPI release
validation), the package name incorrectly included a `_test` suffix
(e.g. `fbgemm_gpu_test-1.6.0rc1-cp310-cp310-manylinux_2_28_x86_64.whl`).

This changes the condition in `setup.py` `package_name()` so that only the
"nightly" channel appends a channel suffix (`_nightly`). Both "test" and
"release" channels now produce the clean package name `fbgemm_gpu`.

Reviewed By: spcyppt, q10

Differential Revision: D97372813

fbshipit-source-id: 5d15b3839f4177d0312097a6100e5f196c98e81a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant