Skip to content

1.6.6 started treating >=3.13t as a path #175

Closed

Description

@henryiii

Nox users might write python=">=3.13t" for a session. This used to "work" (as in, it did return a range, though it actually didn't set free_threaded). Now it looks for an executable named >=3.13t.

It would be nice if a trailing t on a specifier would set free_threaded=True, and then process the specifier without the trailing t. Or maybe throw an error.

We were also testing invalid specifiers, like >=3.13., which now also look for a path, but that's really just our weird testing. Would it be reasonable to assume a python path can't contain >=< characters, at least if if doesn't have /\, and error?

Nothing has to change, we are fixing up our tests and adding the free-threading processing mentioned above, but these are some thoughts.

Activity

  1. gaborbernat commented on Oct 30, 2026

    @gaborbernat
    Member

    #176 handles this cutting a release

  2. henryiii commented on Oct 30, 2026

    @henryiii
    Author

    Thanks! I've adapted to the ValueError in wntrblm/nox#1217.

  3. gaborbernat commented on Oct 30, 2026

    @gaborbernat
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions