Opened 4 months ago
#73028 assigned defect
py-numcodecs violates MacPorts cxx_stdlib settings
| Reported by: | barracuda156 | Owned by: | Schamschula (Marius Schamschula) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.5 |
| Keywords: | Cc: | ||
| Port: | py-numcodecs |
Description
This nonsense happens with libstdc++ being set:
running egg_info
writing numcodecs.egg-info/PKG-INFO
writing dependency_links to numcodecs.egg-info/dependency_links.txt
writing entry points to numcodecs.egg-info/entry_points.txt
writing requirements to numcodecs.egg-info/requires.txt
writing top-level names to numcodecs.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'numcodecs.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'c-blosc/LICENSE.txt'
adding license file 'c-blosc/LICENSES/BITSHUFFLE.txt'
adding license file 'c-blosc/LICENSES/FASTLZ.txt'
adding license file 'c-blosc/LICENSES/LZ4.txt'
adding license file 'c-blosc/LICENSES/SNAPPY.txt'
adding license file 'c-blosc/LICENSES/STDINT.txt'
adding license file 'c-blosc/LICENSES/ZLIB-NG.txt'
adding license file 'c-blosc/LICENSES/ZLIB.txt'
writing manifest file 'numcodecs.egg-info/SOURCES.txt'
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'numcodecs.tests.package_with_entrypoint' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'numcodecs.tests.package_with_entrypoint' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'numcodecs.tests.package_with_entrypoint' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'numcodecs.tests.package_with_entrypoint' to be distributed and are
already explicitly excluding 'numcodecs.tests.package_with_entrypoint' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
creating build/lib.macosx-10.6-ppc-cpython-313/numcodecs/tests/package_with_entrypoint
copying ./numcodecs/tests/package_with_entrypoint/__init__.py -> build/lib.macosx-10.6-ppc-cpython-313/numcodecs/tests/package_with_entrypoint
creating build/lib.macosx-10.6-ppc-cpython-313/numcodecs/tests/package_with_entrypoint-0.1.dist-info
copying ./numcodecs/tests/package_with_entrypoint-0.1.dist-info/entry_points.txt -> build/lib.macosx-10.6-ppc-cpython-313/numcodecs/tests/package_with_entrypoint-0.1.dist-info
running build_ext
Compiling numcodecs/blosc.pyx because it changed.
[1/1] Cythonizing numcodecs/blosc.pyx
building 'numcodecs.blosc' extension
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/blosc
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/internal-complibs/lz4-1.10.0
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/internal-complibs/zlib-1.3.1
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/internal-complibs/zstd-1.5.6/common
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/internal-complibs/zstd-1.5.6/compress
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/internal-complibs/zstd-1.5.6/decompress
creating build/temp.macosx-10.6-ppc-cpython-313/c-blosc/internal-complibs/zstd-1.5.6/dictBuilder
creating build/temp.macosx-10.6-ppc-cpython-313/numcodecs
/opt/local/bin/gcc-mp-14 -Os -arch ppc -isysroot/ -DHAVE_LZ4=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ic-blosc/blosc -Ic-blosc/internal-complibs/lz4-1.10.0 -Ic-blosc/internal-complibs/zlib-1.3.1 -Ic-blosc/internal-complibs/zstd-1.5.6 -Ic-blosc/internal-complibs/zlib-1.3.1/amiga -Ic-blosc/internal-complibs/zlib-1.3.1/contrib -Ic-blosc/internal-complibs/zlib-1.3.1/doc -Ic-blosc/internal-complibs/zlib-1.3.1/examples -Ic-blosc/internal-complibs/zlib-1.3.1/msdos -Ic-blosc/internal-complibs/zlib-1.3.1/nintendods -Ic-blosc/internal-complibs/zlib-1.3.1/old -Ic-blosc/internal-complibs/zlib-1.3.1/os400 -Ic-blosc/internal-complibs/zlib-1.3.1/qnx -Ic-blosc/internal-complibs/zlib-1.3.1/test -Ic-blosc/internal-complibs/zlib-1.3.1/watcom -Ic-blosc/internal-complibs/zlib-1.3.1/win32 -Ic-blosc/internal-complibs/zstd-1.5.6/common -Ic-blosc/internal-complibs/zstd-1.5.6/compress -Ic-blosc/internal-complibs/zstd-1.5.6/decompress -Ic-blosc/internal-complibs/zstd-1.5.6/deprecated -Ic-blosc/internal-complibs/zstd-1.5.6/dictBuilder -Ic-blosc/internal-complibs/zstd-1.5.6/dll -Ic-blosc/internal-complibs/zstd-1.5.6/legacy -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/ada -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/blast -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/delphi -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/dotzlib -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/gcc_gvmat64 -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/infback9 -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/iostream -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/iostream2 -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/iostream3 -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/nuget -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/pascal -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/puff -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/testzlib -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/untgz -Ic-blosc/internal-complibs/zlib-1.3.1/contrib/vstudio -Ic-blosc/internal-complibs/zlib-1.3.1/old/os2 -Ic-blosc/internal-complibs/zstd-1.5.6/dll/example -I/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c c-blosc/blosc/bitshuffle-generic.c -o build/temp.macosx-10.6-ppc-cpython-313/c-blosc/blosc/bitshuffle-generic.o -stdlib=libc++ -pthread
Note: See
TracTickets for help on using
tickets.
