You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When supporting multiple versions, eg python 3.8 to python 3.13, I noticed myself always going with an environment definition a la:
[tox]env_list = py3{8,9,10,11,12,13}
Which is a bit tedious and wordy.
Describe the solution you'd like
Before typing the above, I usually go with
[tox]env_list = py3{8-13}
just to find out that this doesn't work.
I'd really like to have these ranges in there if possible.
It is terser and follows the natural reading flow of "from python 3.8 to python 3.13" instead of "python 3.8, python 3.9, python 3.10 ...".
Additional context
Happy to contribute a PR if I get a go-ahead. 🙂
The text was updated successfully, but these errors were encountered:
Implements tox-dev#3502. Now it is possible to use ranges within the {} of an
env specifier such as py3{10-13}.
I chose to implement it as a pre-processing string replacement that just
replaces the range with a literal enumeration of the range members.
This is mainly to avoid more in-depth handling of these ranges when it
coto generative environment lists.
Also moves CircularChainError from `of_type` to `types` to avoid a
circular import error. (kinda ironic :D)
Implements tox-dev#3502. Now it is possible to use ranges within the {} of an
env specifier such as py3{10-13}.
I chose to implement it as a pre-processing string replacement that just
replaces the range with a literal enumeration of the range members.
This is mainly to avoid more in-depth handling of these ranges when it
coto generative environment lists.
Also moves CircularChainError from `of_type` to `types` to avoid a
circular import error. (kinda ironic :D)
What's the problem this feature will solve?
When supporting multiple versions, eg python 3.8 to python 3.13, I noticed myself always going with an environment definition a la:
Which is a bit tedious and wordy.
Describe the solution you'd like
Before typing the above, I usually go with
just to find out that this doesn't work.
I'd really like to have these ranges in there if possible.
It is terser and follows the natural reading flow of "from python 3.8 to python 3.13" instead of "python 3.8, python 3.9, python 3.10 ...".
Additional context
Happy to contribute a PR if I get a go-ahead. 🙂
The text was updated successfully, but these errors were encountered: