Gate FromStr to pep508 feature (#5464)

## Summary

This is triggering when you run without `--all-features` (but we always
use `--all-features` in CI, so it went unnoticed).
This commit is contained in:
Charlie Marsh
2024-07-25 19:54:07 -04:00
committed by GitHub
parent e4d1039f49
commit 8cb22f5500
@@ -1,3 +1,4 @@
#[cfg(feature = "pyo3")]
use std::str::FromStr;
use std::sync::Arc;