-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using two sets of {a, b, ...} in envlist doesnt show enviroments in tox -l #915
Comments
At a quick glance it seems a bug 🤔 it should work. I'll try to create a MVP for this. |
Running tox version 3.1.2 |
@TheLarsinator seems to work, can you try to create a tox.ini that reproduces this?
|
Tried to reproduce, and your tox.ini worked perfectly. Took mine apart section by section by copying in your sections until it worked and checked the diff. So it appears I had a |
Leaves me with one question, how do I run only the dev enviroment with tox -e without listing py34-dev,py35-dev...... |
Really? That's awkward. Could you post a minimal tox.ini in a gist or so with that whitespace? This looks like something that should be caught and prevented. |
@TheLarsinator can you give the exact unicode code point and an exact example of this? Would be nice if we throw some better error message in this case. The one below seems to still parse correctly. [tox]
envlist\u2006= py{34,35,36,37}-{dev, rel} At the moment we don't have any way to specify environments via some pattern expression or such, there's an issue for it under #647. |
Here it is, first character after envlist: https://gist.github.com/TheLarsinator/91df483ed95770729992d15bedad87e9
EDIT: Ok, that didnt work, Github just keeps converting it to a space... |
On https://unicodelookup.com/ it is identified as a no-break space: \x{A0} | no-break space | 0240 | 160 | 0xA0 |
|
Seems silently failing on this is an upstream bug and likely effects all applications that use the |
I couldnt find a better place to ask this question, so just let me know if there is a place, then Ill delete this.
I am using tox to run tests, and have a tox.ini with:
When I run
$tox
It starts creating an enviroment called python, and tox -l only shows python, not py34-dev, py-34-rel......
Actual:
What I expected:
I can run the expected enviroments with
and it will run the enviroment like expected.
Am I setting up stuff wrong, or is this supposed to work like this?
The text was updated successfully, but these errors were encountered: