GithubHelp home page GithubHelp logo

Comments (6)

webknjaz avatar webknjaz commented on September 13, 2024

I don't know what DSO is, but packaging works as expected. Refer to the changelog for the downstream notes.

from yarl.

kloczek avatar kloczek commented on September 13, 2024

I don't know what DSO is

DSO -> Dynamic Shared Object.

but packaging works as expected. Refer to the changelog for the downstream notes.

That is odd that now is necessary to force to build DSO. IMO it should be default behaviour.
After add --config-setting=pure-python=true --config-setting=with-cython-tracing=true to build params it still does not work

+ /usr/bin/python3 -sBm build -w --no-isolation --config-setting=pure-python=true --config-setting=with-cython-tracing=true
* Getting build dependencies for wheel...
running egg_info
creating yarl.egg-info
writing yarl.egg-info/PKG-INFO
writing dependency_links to yarl.egg-info/dependency_links.txt
writing requirements to yarl.egg-info/requires.txt
writing top-level names to yarl.egg-info/top_level.txt
writing manifest file 'yarl.egg-info/SOURCES.txt'
reading manifest file 'yarl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl/*.c'
warning: no previously-included files found matching 'yarl/*.html'
warning: no previously-included files found matching 'yarl/*.so'
warning: no previously-included files found matching 'yarl/*.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
adding license file 'NOTICE'
writing manifest file 'yarl.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/yarl
copying yarl/__init__.py -> build/lib/yarl
copying yarl/_quoting.py -> build/lib/yarl
copying yarl/_quoting_py.py -> build/lib/yarl
copying yarl/_url.py -> build/lib/yarl
running egg_info
writing yarl.egg-info/PKG-INFO
writing dependency_links to yarl.egg-info/dependency_links.txt
writing requirements to yarl.egg-info/requires.txt
writing top-level names to yarl.egg-info/top_level.txt
reading manifest file 'yarl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
*********************
* Pure Python build *
*********************
sys:1: RuntimeWarning: The `with-cython-tracing` setting requesting Cython line tracing is set, but building C-extensions is not. This option will not have any effect for in the pure-python build mode.
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl/*.c'
warning: no previously-included files found matching 'yarl/*.html'
warning: no previously-included files found matching 'yarl/*.so'
warning: no previously-included files found matching 'yarl/*.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
adding license file 'NOTICE'
writing manifest file 'yarl.egg-info/SOURCES.txt'
copying yarl/__init__.pyi -> build/lib/yarl
copying yarl/_quoting_c.pyi -> build/lib/yarl
copying yarl/_quoting_c.pyx -> build/lib/yarl
copying yarl/py.typed -> build/lib/yarl
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/__init__.py -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/_quoting.py -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/_quoting_py.py -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/_url.py -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/__init__.pyi -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/_quoting_c.pyi -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/_quoting_c.pyx -> build/bdist.linux-x86_64/wheel/yarl
copying build/lib/yarl/py.typed -> build/bdist.linux-x86_64/wheel/yarl
running install_egg_info
Copying yarl.egg-info to build/bdist.linux-x86_64/wheel/yarl-1.9.4-py3.8.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/yarl-1.9.4.dist-info/WHEEL
creating '/home/tkloczko/rpmbuild/BUILD/yarl-1.9.4/dist/.tmp-8asjayqc/yarl-1.9.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'yarl/__init__.py'
adding 'yarl/__init__.pyi'
adding 'yarl/_quoting.py'
adding 'yarl/_quoting_c.pyi'
adding 'yarl/_quoting_c.pyx'
adding 'yarl/_quoting_py.py'
adding 'yarl/_url.py'
adding 'yarl/py.typed'
adding 'yarl-1.9.4.dist-info/LICENSE'
adding 'yarl-1.9.4.dist-info/METADATA'
adding 'yarl-1.9.4.dist-info/NOTICE'
adding 'yarl-1.9.4.dist-info/WHEEL'
adding 'yarl-1.9.4.dist-info/top_level.txt'
adding 'yarl-1.9.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built yarl-1.9.4-py3-none-any.whl

In whole source tree I don't see any .c files generated.

[tkloczko@pers-jacek yarl-1.9.4]$ find . -name \*.c
[tkloczko@pers-jacek yarl-1.9.4]$

FYI: I'm using cython 3.0.5.

from yarl.

webknjaz avatar webknjaz commented on September 13, 2024

The tree is not modified in-place anymore. The compiled C-extensions are in the wheel. You can read it in your own log.

from yarl.

webknjaz avatar webknjaz commented on September 13, 2024

After add --config-setting=pure-python=true --config-setting=with-cython-tracing=true to build params it still does not work

It does. You requested no extensions — you got no extensions, only pure Python.

from yarl.

kloczek avatar kloczek commented on September 13, 2024

The tree is not modified in-place anymore. The compiled C-extensions are in the wheel. You can read it in your own log.

build does not perform by DEFAULT in-place build. All is done in build/.
And again. After all there is no generated .c file(s) so it is not possible to compile anything.

from yarl.

kloczek avatar kloczek commented on September 13, 2024

It does. You requested no extensions — you got no extensions, only pure Python.

What kind of extension?

from yarl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.