Use an enum for free-threaded Python requests (#7871)

Follow-up to #7431 improving readability
This commit is contained in:
Zanie Blue 2024-10-02 13:10:45 -05:00 committed by GitHub
parent 64c74ac552
commit 891c91dd3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 150 additions and 97 deletions

View file

@ -3,7 +3,7 @@ use thiserror::Error;
pub use crate::discovery::{
find_python_installations, EnvironmentPreference, Error as DiscoveryError, PythonDownloads,
PythonNotFound, PythonPreference, PythonRequest, PythonSource, VersionRequest,
PythonNotFound, PythonPreference, PythonRequest, PythonSource, PythonVariant, VersionRequest,
};
pub use crate::environment::{InvalidEnvironment, InvalidEnvironmentKind, PythonEnvironment};
pub use crate::implementation::ImplementationName;