-
Notifications
You must be signed in to change notification settings - Fork 34
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
Tox 3.4.0 broke tox-travis #114
Comments
Seeing the same:
|
This indeed is a change in tox we renamed that object to look like a class. If possible I would prefer tox Travis ammended. Interesting though why tox Travis uses that class. In the meantime as workaround please pin tox version. |
We'll look into adding integration tests against most popular plugins. In the meantime please ammend do the needed changes maintainers. |
A better workaround appears to fix the deprecation warning from tox-travis in the first place, i.e. add the env(s) to tox' envlist. |
@blueyed Hmm, I hadn't noticed the deprecation warning. Problem is, that I can't fix that. On travis I want to run the Python nightly tests, but because there is no release yet, I don't want to include them in the tox.ini. Any idea? |
Unfortunately, my laptop is borked right now, and I'm having to reinstall. PRs welcome, otherwise it'll have to wait until I get my computer up so I can get this fixed. I don't intend to add in compatibility code, so if you do pin tox as a workaround, you may wish to also pin tox-travis, so that when I get this issue fixed it won't re-break your setup until you unpin. Or perhaps you'll want it to break, but that's up to you. |
I'll create a PR. |
Wouldn't be too difficult though: try:
from tox.config import ParseIni # tox 3.4.0+
make_envconfig = ParseIni.make_envconfig
except ImportError:
from tox.config.parseini import make_envconfig
# Dig past the unbound method in Python 2
make_envconfig = getattr(make_envconfig, '__func__', make_envconfig) |
* minor: sort imports, fix typo * Fix autogen_envconfigs for tox 3.4.0 Fixes #114
Not sure if this is a regression in tox or if tox-travis needs to be updated.
See
https://travis-ci.org/devpi/devpi/builds/431142175
and tox-dev/tox#1011
The text was updated successfully, but these errors were encountered: