-
Notifications
You must be signed in to change notification settings - Fork 525
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
WIP keep PyYAML build working on Cython3.0.0a10+ #602
Conversation
* Cython 3.0 changes its build_ext command base class to one that's incompatible with pyyaml's subclass * temporarily force use of Cython3's `old_build_ext` compatibility class if present
git clean -xdf tar zcvf ../python-yaml_6.0.1.orig.tar.gz --exclude=.git . debuild -uc -us cp python-yaml.spec ../python-yaml_6.0.1-1.spec mv ../python*-yaml*6.0.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/yaml-pyyaml-6.0.1/ rm -rf ../python*-yaml*6.0.1*.* See yaml#602 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf tar zcvf ../python-yaml_6.0.1.orig.tar.gz --exclude=.git . debuild -uc -us cp python-yaml.spec ../python-yaml_6.0.1-1.spec mv ../python*-yaml*6.0.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/yaml-pyyaml-6.0.1/ rm -rf ../python*-yaml*6.0.1*.* See yaml#602 See https://build.opensuse.org/package/view_file/devel:languages:python/python-PyYAML/setuptools.patch Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf tar zcvf ../python-yaml_6.0.orig.tar.gz --exclude=.git . debuild -uc -us cp python-yaml.spec ../python-yaml_6.0-1.spec mv ../python*-yaml*6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/yaml-pyyaml-6.0/ rm -rf ../python*-yaml*6.0*.* See yaml#602 See https://build.opensuse.org/package/view_file/devel:languages:python/python-PyYAML/setuptools.patch Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf tar zcvf ../python-yaml_6.0.1.orig.tar.gz --exclude=.git . debuild -uc -us cp python-yaml.spec ../python-yaml_6.0.1-1.spec mv ../python*-yaml*6.0.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/yaml-pyyaml-6.0.1/ rm -rf ../python*-yaml*6.0.1*.* See yaml#602 See https://build.opensuse.org/package/view_file/devel:languages:python/python-PyYAML/setuptools.patch Signed-off-by: Wong Hoi Sing Edison <[email protected]>
@nitzmahone: can you close this? #731 seems to implement basically the same thing without the explicit Cython version dependency. According to reports it works on pyyaml 5.4 and 6.0 branches. Thanks. |
Hi @nitzmahone any update on this support, have we added this or is it still WIP. |
@nitzmahone: This was effectively merged in #808. Please close this. Thanks. |
6.0.2 includes a "temporary" hack for Cython 3 extension build support |
fixes #601
old_build_ext
compatibility class if present