Bug 2365475 - Review Request: rust-deadpool - Dead simple async pool
Summary: Review Request: rust-deadpool - Dead simple async pool
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/deadpool
Whiteboard:
Depends On: 2365474
Blocks: 2365476
TreeView+ depends on / blocked
 
Reported: 2025-05-11 00:51 UTC by Ben Beasley
Modified: 2025-05-27 02:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-13 11:41:10 UTC
Type: Bug
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
Configuration file for rust2rpm (537 bytes, text/plain)
2025-05-11 00:51 UTC, Ben Beasley
no flags Details
Updated configuration file for rust2rpm (593 bytes, text/plain)
2025-05-12 18:18 UTC, Ben Beasley
no flags Details
The .spec file difference from Copr build 9017587 to 9024912 (1023 bytes, patch)
2025-05-12 18:23 UTC, Fedora Review Service
no flags Details | Diff

Description Ben Beasley 2025-05-11 00:51:55 UTC
Created attachment 2089318 [details]
Configuration file for rust2rpm

Spec URL: https://music.fedorapeople.org/rust-deadpool.spec
SRPM URL: https://music.fedorapeople.org/rust-deadpool-0.12.2-1.fc42.src.rpm
Description: Dead simple async pool.
Fedora Account System Username: music

This is a dependency for rust-wiremock, which would enable additional tests in rust-reqwest-retry and in uv, and would save the effort of patching out a gradually-increasing number of tests in uv that use wiremock.

The rt_async-std_1 feature is hidden, and the async-std dev-dependency is patched out, because async-std is deprecated upstream and proposed for deprecation in Fedora. While that hasn’t happened yet, there’s no reason to introduce unnecessary new dependencies on rust-async-std.

A COPR build with fedora-review enabled is available at: https://copr.fedorainfracloud.org/coprs/music/wiremock/build/9017229/

Comment 1 Fedora Review Service 2025-05-11 00:53:44 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9017587
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2365475-rust-deadpool/fedora-rawhide-x86_64/09017587-rust-deadpool/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Fedora Review Service 2025-05-11 00:53:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9017586
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2365475-rust-deadpool/fedora-rawhide-x86_64/09017586-rust-deadpool/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Fabio Valentini 2025-05-12 16:05:01 UTC
Package looks good to me, two minor things:

- The /test-build.sh file causes a dependency on /bin/bash to get generated, please exclude it from the built package.

- The "config" dependency is used for one single test file (tests/managed_config.rs), it could be dropped entirely if that test file is dropped too - but that's up to you. The current patch is OK too, of course.

Comment 4 Ben Beasley 2025-05-12 18:15:48 UTC
(In reply to Fabio Valentini from comment #3)
> Package looks good to me, two minor things:
> 
> - The /test-build.sh file causes a dependency on /bin/bash to get generated,
> please exclude it from the built package.

Fixing and preparing an updated submission, thanks.

> - The "config" dependency is used for one single test file
> (tests/managed_config.rs), it could be dropped entirely if that test file is
> dropped too - but that's up to you. The current patch is OK too, of course.

Hmm. It turns out that the test file in question starts with

  #![cfg(all(feature = "managed", feature = "serde"))]

and serde is not a default feature, so the test isn’t even being run. I can therefore drop the config dev-dependency without even having to remove the test file or patch out the reference to it in Cargo.toml. I’ll do that.

Comment 6 Ben Beasley 2025-05-12 18:18:39 UTC
Created attachment 2089549 [details]
Updated configuration file for rust2rpm

Comment 7 Ben Beasley 2025-05-12 18:19:14 UTC
Oops! I didn’t actually exclude the shell script! One more update coming…

Comment 8 Fedora Review Service 2025-05-12 18:23:29 UTC
Created attachment 2089550 [details]
The .spec file difference from Copr build 9017587 to 9024912

Comment 9 Fedora Review Service 2025-05-12 18:23:31 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9024912
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2365475-rust-deadpool/fedora-rawhide-x86_64/09024912-rust-deadpool/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 11 Fedora Review Service 2025-05-12 18:27:12 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9024935
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2365475-rust-deadpool/fedora-rawhide-x86_64/09024935-rust-deadpool/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 12 Fabio Valentini 2025-05-13 09:10:26 UTC
Thanks, looks good to me now!

===

Package was generated with rust2rpm, simplifying the review.

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
✅ latest version of the crate is packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ license files are included with %license in %files
✅ package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter (*NOT* pre-release filter): alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- set bugzilla assignee overrides to @rust-sig (optional)

Comment 13 Ben Beasley 2025-05-13 11:22:22 UTC
Thank you for the review!

Comment 14 Ben Beasley 2025-05-13 11:33:01 UTC
https://pagure.io/releng/issue/12733

Comment 15 Fedora Update System 2025-05-13 11:36:01 UTC
FEDORA-2025-2a5b26c2ba (rust-deadpool-0.12.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2a5b26c2ba

Comment 16 Fedora Update System 2025-05-13 11:41:10 UTC
FEDORA-2025-2a5b26c2ba (rust-deadpool-0.12.2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2025-05-14 02:10:38 UTC
FEDORA-2025-94751acc27 (rust-deadpool-0.12.2-1.fc42, rust-deadpool-runtime-0.1.4-1.fc42, and 2 more) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-94751acc27

Comment 18 Fedora Update System 2025-05-14 02:10:40 UTC
FEDORA-2025-2e896437ac (rust-deadpool-0.12.2-1.fc41, rust-deadpool-runtime-0.1.4-1.fc41, and 2 more) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2e896437ac

Comment 19 Fedora Update System 2025-05-14 10:45:06 UTC
FEDORA-EPEL-2025-56b8dc7eac (rust-actix-macros-0.2.4-4.el10_1, rust-actix-rt-2.10.0-3.el10_1, and 5 more) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-56b8dc7eac

Comment 20 Fedora Update System 2025-05-15 01:24:06 UTC
FEDORA-2025-94751acc27 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-94751acc27`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-94751acc27

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2025-05-15 02:35:35 UTC
FEDORA-2025-2e896437ac has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-2e896437ac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-2e896437ac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2025-05-15 02:47:01 UTC
FEDORA-EPEL-2025-56b8dc7eac has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-56b8dc7eac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2025-05-19 02:04:14 UTC
FEDORA-EPEL-2025-56b8dc7eac has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-56b8dc7eac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2025-05-19 02:27:08 UTC
FEDORA-2025-94751acc27 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-94751acc27`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-94751acc27

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2025-05-19 02:41:38 UTC
FEDORA-2025-2e896437ac has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-2e896437ac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-2e896437ac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2025-05-27 01:26:09 UTC
FEDORA-2025-94751acc27 (rust-deadpool-0.12.2-1.fc42, rust-deadpool-runtime-0.1.4-1.fc42, and 6 more) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 27 Fedora Update System 2025-05-27 01:41:08 UTC
FEDORA-EPEL-2025-56b8dc7eac (rust-actix-macros-0.2.4-4.el10_1, rust-actix-rt-2.10.0-3.el10_1, and 7 more) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 Fedora Update System 2025-05-27 02:05:17 UTC
FEDORA-2025-2e896437ac (rust-deadpool-0.12.2-1.fc41, rust-deadpool-runtime-0.1.4-1.fc41, and 6 more) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.