Comments (6)
I don't know what DSO is, but packaging works as expected. Refer to the changelog for the downstream notes.
from yarl.
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.
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.
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.
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.
It does. You requested no extensions — you got no extensions, only pure Python.
What kind of extension?
from yarl.
Related Issues (20)
- Trying to build a wheel of YARL with the command `python -m build --wheel` issued at the root returns an error from `_backend.py` HOT 22
- Ability to remove a specific query parameter
- Building the wheel fails with TypeError: '_GeneratorContextManager' object is not an iterator HOT 4
- Export Query type HOT 1
- basic-auth user and password are converted to lowercase when passed as part of "host" to URL.build HOT 11
- regression in URL.build(…,port="") HOT 1
- Test failures with Python 3.12.0b2 HOT 4
- `url.join(...)` drops parts of the path if `url` does not end with `/` HOT 2
- Port normalization HOT 4
- Planned release? HOT 2
- __truediv__ to append a path drops final / HOT 3
- Allow numpy values in query HOT 8
- Non-ASCII hostnames are not validated and so allow "@" and other reserved gen-delims characters HOT 4
- build failure if Cython is not available HOT 1
- 1.9.4: documentation build fail HOT 4
- Regression: Trailing slash for yarl.URL ("http://localhost") / "path" / "" is dropped in 1.9.4 HOT 4
- Provide `to_dict` method or make `URL` a mapping HOT 2
- When $TMPDIR is within $PWD, creating wheel dies on infinite recursion HOT 10
- [TODO] Research compatibility with RFC 6874 and cover it with tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yarl.