Skip to content

Don't debianize for pytest and numpy #63

@Amphetaminewei

Description

@Amphetaminewei

We tried to create a deb package for pytest numpy the way the demo did, but nothing was generated in output/ for us after executing wheel2deb --map attrs=attr -v

`
wangweinan@wangweinan-xiaoxinpro14imh9:~ /test-wheel2deb$ pip3 wheel -i https://pypi.tuna.tsinghua.edu.cn/simple pytest numpy
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pytest
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c4/43/6b1debd95ecdf001bc46789a933f658da3f9738c65f32db3f4e8f2a4ca97/pytest-8.2.0-py3-none-any.whl (339 kB)
Collecting numpy
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/0f/50/de23fde84e45f5c4fda2488c759b69990fd4512387a8632860f3ac9cd225/numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.0 MB)
Collecting iniconfig (from pytest)
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging (from pytest)
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl (53 kB)
Collecting pluggy<2.0,>=1.5 (from pytest)
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl (20 kB)
Saved ./pytest-8.2.0-py3-none-any.whl
Saved ./numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Saved ./pluggy-1.5.0-py3-none-any.whl
Saved ./iniconfig-2.0.0-py3-none-any.whl
Saved ./packaging-24.0-py3-none-any.whl
wangweinan@wangweinan-xiaoxinpro14imh9:~/test-wheel2deb$ wheel2deb --map attrs=attr -v
--> Unpacking 5 wheels
found license: iniconfig-2.0.0.dist-info/licenses/LICENSE
iniconfig-2.0.0-py3-none-any.whl does not support python 3.1
found shared lib: numpy/fft/_pocketfft_internal.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/linalg/lapack_lite.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/linalg/_umath_linalg.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/_pcg64.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/_generator.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/_common.cpython-312-x86_64-linux-gnu.so
found license: numpy/random/LICENSE.md
found shared lib: numpy/random/_sfc64.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/_philox.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_multiarray_tests.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_rational_tests.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_umath_tests.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_operand_flag_tests.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_struct_ufunc_tests.cpython-312-x86_64-linux-gnu.so
found shared lib: numpy/core/_simd.cpython-312-x86_64-linux-gnu.so
found license: numpy/core/include/numpy/random/LICENSE.txt
found license: numpy/ma/LICENSE
found license: numpy-1.26.4.dist-info/LICENSE.txt
found shared lib: numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
found shared lib: numpy.libs/libquadmath-96973f99.so.0.0.0
found shared lib: numpy.libs/libgfortran-040039e1.so.5.0.0
numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl does not support python 3.1
found license: packaging-24.0.dist-info/LICENSE
found license: packaging-24.0.dist-info/LICENSE.APACHE
found license: packaging-24.0.dist-info/LICENSE.BSD
packaging-24.0-py3-none-any.whl does not support python 3.1
found license: pluggy-1.5.0.dist-info/LICENSE
pluggy-1.5.0-py3-none-any.whl does not support python 3.1
found license: pytest-8.2.0.dist-info/LICENSE
pytest-8.2.0-py3-none-any.whl does not support python 3.1

Warnings: 5. Errors: 0. Elapsed: 0.006s.
wangweinan@wangweinan-xiaoxinpro14imh9:~ /test-wheel2deb$ ls
iniconfig-2.0.0-py3-none-any.whl output pluggy-1.5.0-py3-none-any.whl
numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl packaging-24.0-py3-none-any.whl pytest-8.2.0-py3-none-any.whl
wangweinan@wangweinan-xiaoxinpro14imh9:~ /test-wheel2deb$ ls output/
wangweinan@wangweinan-xiaoxinpro14imh9:~ /test-wheel2deb$ ls output/^C
wangweinan@wangweinan-xiaoxinpro14imh9:~ /test-wheel2deb$ pip3 show wheel2deb
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Name: wheel2deb
Version: 0.5.8
Summary: wheel2deb: python wheel to debian package converter
Home-page: https://github.com/upciti/wheel2deb/
Author: Simon Guigui
Author-email:
License: MIT license
Location: /home/wangweinan/.local/lib/python3.12/site-packages
Requires: attrs, colorama, dirsync, jinja2, packaging, pkginfo, pyyaml, setuptools, wheel
Required-by:
wangweinan@wangweinan-xiaoxinpro14imh9:~/test-wheel2deb$

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions