pytorch / text

Models, data loaders and abstractions for language processing, powered by PyTorch
https://pytorch.org/text
BSD 3-Clause "New" or "Revised" License
3.51k stars 811 forks source link

[META] OS X conda builds for python 3.{7,9} are broken #1556

Open erip opened 2 years ago

erip commented 2 years ago

CI is generally unhappy because of caching, but something has broken with the OS X conda builds. For whatever reason, OS X python 3.8 builds are OK. cc @seemethere

Nayef211 commented 2 years ago

This looks like it's being caused by python version errors for OSX. I.e. this is the error for binary_macos_conda_py3.7 from here.

conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {'python', "python[version='>=3.8,<3.9.0a0']", "python[version='>=2.7,<2.8.0a0|>=3.5|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']", "python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.5,<3.6.0a0']"}

I wonder if torchaudio or torchvision are facing similar errors. cc @mthrok @NicolasHug

mthrok commented 2 years ago

I do not know why but the stability of build workflow is very different between nightly build and the others. The dependencies in macOS seem much more fragile than the other platforms.

It's not a great solution, but most of the time, they can be ignored, as long as one is not making changes to build process or dependency.