Add "python-eol" feature to Sphinx tests (#14241)

## Summary

Closes https://github.com/astral-sh/uv/issues/14228.
This commit is contained in:
Charlie Marsh 2025-06-24 11:15:18 -04:00 committed by GitHub
parent 19c58c7fbb
commit 093e9d6ff0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -355,6 +355,7 @@ fn mixed_requires_python() -> Result<()> {
/// Ensure that group requires-python solves an actual problem
#[test]
#[cfg(not(windows))]
#[cfg(feature = "python-eol")]
fn group_requires_python_useful_defaults() -> Result<()> {
let context = TestContext::new_with_versions(&["3.8", "3.9"]);
@ -499,6 +500,7 @@ fn group_requires_python_useful_defaults() -> Result<()> {
/// Ensure that group requires-python solves an actual problem
#[test]
#[cfg(not(windows))]
#[cfg(feature = "python-eol")]
fn group_requires_python_useful_non_defaults() -> Result<()> {
let context = TestContext::new_with_versions(&["3.8", "3.9"]);