-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
TESTED_VERSIONS is ignored in tox? #15
Comments
I am seeing similar behaviour in a variety of testing scenarios, all involving
|
I think this is the issue that @bsipocz and @larrybradley also ran into. |
Maybe this is not robust enough: pytest-astropy-header/pytest_astropy_header/display.py Lines 106 to 114 in 53b214e
And perhaps if we remove the old checks in #32 , things will be easier to debug. 🤞 |
Hmm... Using this plugin and tox in stsci-package-template does not show this problem. I am not sure why!
|
So after some investigation, the |
Thanx, I'll give that a test. |
I think the reason we used to have |
Yes, I think you're right. So maybe an option is to duplicate the files... |
Not as clean but if it works, we could recommend it. |
I wonder if we could somehow have the main version be in the root directory and then copy it into the installation path when installing, to not actually have to duplicate it manually? |
👎 to auto copying, as it really only affects the astropy test runner and |
So, I just created a root level
to
❗ ❗ ❗ What I am doing wrong? 🤯 |
I set custom
TESTED_VERSIONS
in astropy/astrowidgets#103 but it does not seem to work, as the test log still shows:It works in my other projects. The only difference I can think of is that
astrowidgets
is usingtox
, unlike the others that I am using for comparison.The text was updated successfully, but these errors were encountered: