Closed rail closed 5 years ago
Hm, pulling from your branch, I was able to run tox for both py36 and py37 without issue on osx. I may be mistaken about my review comments above, though it's also possible we just don't have any dependencies currently that hit it, but we may in the future (or in other *scripts)
Hm, pulling from your branch, I was able to run tox for both py36 and py37 without issue on osx. I may be mistaken about my review comments above, though it's also possible we just don't have any dependencies currently that hit it, but we may in the future (or in other *scripts)
Actually I hit an issue, when I tried to run tox on 3.6 with requirements generated with 3.7. A couple of packages (second level deps iirc) were marked as for python<3.7, so they were not in the generated txt files. Regenerating the deps on 3.6 solved the issue. I'm not sure what would be the best approach here, tbh.
Hm, pulling from your branch, I was able to run tox for both py36 and py37 without issue on osx. I may be mistaken about my review comments above, though it's also possible we just don't have any dependencies currently that hit it, but we may in the future (or in other *scripts)
Actually I hit an issue, when I tried to run tox on 3.6 with requirements generated with 3.7. A couple of packages (second level deps iirc) were marked as for python<3.7, so they were not in the generated txt files. Regenerating the deps on 3.6 solved the issue. I'm not sure what would be the best approach here, tbh.
I believe that's because dependencies can be specified for a specific minor version of python, so 3.6 and 3.7 get different lists. And wheels can be compiled for different OS arches, so linux and macosx get different lists. My current thinking about this has been to rely on unpinned deps for testing, and running pinning if and when we have a specific OS/python minor version we're targeting. That would be for deployment or automation, rather than development.
Let me remove that line then.
I was playing with pip-compile-multi and signingscript's outdated compiled requirements-prod.txt file and ended up with something like this. Not quite sure if this is what we want, but I'll try. :)
I also added a check in order to verify that the compiled files are on par with their
.in
equivalents.@escapewindow what do you think?