Closed andy-maier closed 3 years ago
Update: Installing the right version of setuptools-scm before installing lazy-object-proxy does not solve the problem. See here: https://github.com/pywbem/pywbem/runs/2158775353?check_suite_focus=true#step:7:210. Pip still uses the latest version of setuptools-scm during setup of lazy-object-proxy. So I think we depend on a new release of 1.4.x with the pinning.
For now, we have disabled the use of pylint on Python 3.5 to circumvent the problem.
It is still a mystery to me as to why this fails only on macos but not on ubuntu. I made a new run in which all of the following was equal on both OSs:
Still it fails on macos and succeeds on ubuntu: https://github.com/pywbem/pywbem/runs/2158991576?check_suite_focus=true
I can release a fixed 1.4 sdist, but building wheels for that old version is too hard since all sorts of things broke. Is a sdist enough for you?
On Sun, Mar 21, 2021, 11:14 Andreas Maier @.***> wrote:
It is still a mystery to me as to why this fails only on macos but not on ubuntu. I made a new run in which all of the following was equal on both OSs:
- Python 3.5.10
- pip 9.0.3
- setuptools 39.0.1
- lazy-object-proxy 1.4.3
Still it fails on macos and succeeds on ubuntu: https://github.com/pywbem/pywbem/runs/2158991576?check_suite_focus=true
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ionelmc/python-lazy-object-proxy/issues/51#issuecomment-803538616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7TXMHKPBDITZBTH3S7TTTEW2G7ANCNFSM4ZRHXY3A .
@ionelmc Sorry for the delay. Releasing an sdist is sufficient, as long as it is on Pypi.
Just uploaded 1.4.4
Just for completeness: Due to #56, version 1.4.4 had to be yanked again from Pypi. We can live with that by not running pylint on Python 3.5, which is acceptable on such an old and meanwhile unsupported Python version. Sorry for causing the extra work for you.
Further update: It turns out that the issue no longer occurs on Python 3.5. I don't understand the reasons for that, but it may be related to better dependency checking in pip (my suspicion). This allowed us to re-enable pylint on Python 3.5.
More importantly for you though, it means the proposed pinning of setuptools-scm to <6.0 is not needed to have your versions up to 1.5.2 working on Python 3.5.
We are using version 1.4.3 for testing on Python 3.5 (that is the minimum version we test with, we test with both a defined minimum and latest versions of our package dependencies). Version 1.4.3 does not yet pin setuptools-scm to <6.0 as the master branch does (in setup.cfg). This causes the following installation error on Python 3.5 (strangely enough just on macos, but not on ubuntu and windows):
Test runs, with the failing run opened: https://github.com/pywbem/pywbem/runs/2158223117?check_suite_focus=true
We can work around the issue by pinning setuptools-scm in the development dependencies of our package (it only comes in via pylint), but that package is not used so far. The use of setuptools-scm by your package is only during its installation and therefore disappears again once the installation is complete. So it would introduce a new package dependency for us. I was wondering whether you would be willing to release a 1.4.x version that still supports Python 3.5 and has the fix with the pinning of setuptools-scm to <6.0 in setup.cfg?