Code Monkey home page Code Monkey logo

pybind11-feedstock's Introduction

About pybind11-split-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/pybind/pybind11/

Package license: BSD-3-Clause

Summary: Seamless operability between C++11 and Python

Documentation: https://pybind11.readthedocs.io/

Current build status

Azure
VariantStatus
linux_64_python3.10.____cpython variant
linux_64_python3.11.____cpython variant
linux_64_python3.12.____cpython variant
linux_64_python3.8.____cpython variant
linux_64_python3.9.____73_pypy variant
linux_64_python3.9.____cpython variant
linux_aarch64_python3.10.____cpython variant
linux_aarch64_python3.11.____cpython variant
linux_aarch64_python3.12.____cpython variant
linux_aarch64_python3.8.____cpython variant
linux_aarch64_python3.9.____73_pypy variant
linux_aarch64_python3.9.____cpython variant
linux_ppc64le_python3.10.____cpython variant
linux_ppc64le_python3.11.____cpython variant
linux_ppc64le_python3.12.____cpython variant
linux_ppc64le_python3.8.____cpython variant
linux_ppc64le_python3.9.____73_pypy variant
linux_ppc64le_python3.9.____cpython variant
osx_64_python3.10.____cpython variant
osx_64_python3.11.____cpython variant
osx_64_python3.12.____cpython variant
osx_64_python3.8.____cpython variant
osx_64_python3.9.____73_pypy variant
osx_64_python3.9.____cpython variant
osx_arm64_python3.10.____cpython variant
osx_arm64_python3.11.____cpython variant
osx_arm64_python3.12.____cpython variant
osx_arm64_python3.8.____cpython variant
osx_arm64_python3.9.____cpython variant
win_64_python3.10.____cpython variant
win_64_python3.11.____cpython variant
win_64_python3.12.____cpython variant
win_64_python3.8.____cpython variant
win_64_python3.9.____73_pypy variant
win_64_python3.9.____cpython variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing pybind11-split

Installing pybind11-split from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, pybind11, pybind11-abi, pybind11-global can be installed with conda:

conda install pybind11 pybind11-abi pybind11-global

or with mamba:

mamba install pybind11 pybind11-abi pybind11-global

It is possible to list all of the versions of pybind11 available on your platform with conda:

conda search pybind11 --channel conda-forge

or with mamba:

mamba search pybind11 --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search pybind11 --channel conda-forge

# List packages depending on `pybind11`:
mamba repoquery whoneeds pybind11 --channel conda-forge

# List dependencies of `pybind11`:
mamba repoquery depends pybind11 --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating pybind11-split-feedstock

If you would like to improve the pybind11-split recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/pybind11-split-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

pybind11-feedstock's People

Contributors

ax3l avatar beckermr avatar chrisburr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar conda-forge-linter avatar dean0x7d avatar github-actions[bot] avatar h-vetinari avatar henryiii avatar isuruf avatar mariusvniekerk avatar regro-cf-autotick-bot avatar sdebionne avatar sylvaincorlay avatar wjakob avatar xhochy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pybind11-feedstock's Issues

pybind11 2.12.0 on Windows creates extensions that are not ABI compatible with extensions compiled with pybind11 2.11.0 and/or with a different version of MSVC

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

There is an extensive discussion on this in pybind/pybind11#4779 and pybind/pybind11#4953 . I open this issue as this change got released in conda-forge as part of #94, so this started hitting usage downstream of conda-forge (for example conda-forge/bipedal-locomotion-framework-feedstock#61 (comment))

Installed packages

pybind11 2.12.0

Environment info

Not relevant (I guess).

Exception handling incompatibility with different compiler versions

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

We observed a failure, on linux-64 only, to invoke a pybind11 exception translator when it was built with g++ 9.4 and the exception-throwing code was built with g++ 10.3.

The attached file gives a small example. If the handler and example files are built (using the given shell scripts) with the same g++ version, when running example.py everything works properly (the output includes "In translator"). But if the handler is built with g++ 9.4 and the example is built with g++ 10.3, it fails (the output does not contain that string). It also fails when built the other way, with the handler under 10.3 and the example under 9.4.

This may be related to #77

minexample.txt

Installed packages

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
binutils_impl_linux-64    2.36.1               h193b22a_2    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
gcc                       9.4.0                h192d537_6    conda-forge
gcc_impl_linux-64         9.4.0               h03d3576_13    conda-forge
gxx                       9.4.0                h192d537_6    conda-forge
gxx_impl_linux-64         9.4.0               h03d3576_13    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     9.4.0               hd854feb_13    conda-forge
libgcc-ng                 11.2.0              h1d223b6_13    conda-forge
libgomp                   11.2.0              h1d223b6_13    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libsanitizer              9.4.0               h79bfe98_13    conda-forge
libstdcxx-devel_linux-64  9.4.0               hd854feb_13    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_13    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
ncurses                   6.3                  h9c3ff4c_0    conda-forge
openssl                   3.0.0                h7f98852_2    conda-forge
pip                       22.0.4             pyhd8ed1ab_0    conda-forge
pybind11                  2.9.1           py310h91b1402_0    conda-forge
pybind11-global           2.9.1           py310h91b1402_0    conda-forge
python                    3.10.2          hc74c709_3_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
setuptools                60.9.3          py310hff52083_0    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge

and

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
binutils_impl_linux-64    2.36.1               h193b22a_2    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
gcc                       10.3.0               he2824d0_6    conda-forge
gcc_impl_linux-64         10.3.0              hf2f2afa_13    conda-forge
gxx                       10.3.0               he2824d0_6    conda-forge
gxx_impl_linux-64         10.3.0              hf2f2afa_13    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     10.3.0              he6cfe16_13    conda-forge
libgcc-ng                 11.2.0              h1d223b6_13    conda-forge
libgomp                   11.2.0              h1d223b6_13    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libsanitizer              10.3.0              h26c7422_13    conda-forge
libstdcxx-devel_linux-64  10.3.0              he6cfe16_13    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_13    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
ncurses                   6.3                  h9c3ff4c_0    conda-forge
openssl                   3.0.0                h7f98852_2    conda-forge
pip                       22.0.4             pyhd8ed1ab_0    conda-forge
pybind11                  2.9.1           py310h91b1402_0    conda-forge
pybind11-global           2.9.1           py310h91b1402_0    conda-forge
python                    3.10.2          hc74c709_3_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
setuptools                60.9.3          py310hff52083_0    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge

Environment info

active environment : min94
    active env location : /home/ktlim/.conda/envs/min94
            shell level : 2
       user config file : /home/ktlim/.condarc
 populated config files : /home/ktlim/.condarc
          conda version : 4.11.0
    conda-build version : not installed
         python version : 3.8.5.final.0
       virtual packages : __linux=3.10.0=0
                          __glibc=2.17=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /software/lsstsw/stack_20220215/conda/miniconda3-py38_4.9.2  (read only)
      conda av data dir : /software/lsstsw/stack_20220215/conda/miniconda3-py38_4.9.2/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/intel/linux-64
                          https://conda.anaconda.org/intel/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /software/lsstsw/stack_20220215/conda/miniconda3-py38_4.9.2/pkgs
                          /home/ktlim/.conda/pkgs
       envs directories : /home/ktlim/.conda/envs
                          /software/lsstsw/stack_20220215/conda/miniconda3-py38_4.9.2/envs
               platform : linux-64
             user-agent : conda/4.11.0 requests/2.24.0 CPython/3.8.5 Linux/3.10.0-1160.49.1.el7.x86_64 centos/7.9.2009 glibc/2.17
                UID:GID : 49831:202
             netrc file : None
           offline mode : False

and

     active environment : min103
    active env location : /home/ktlim/stack2/conda/envs/min103
            shell level : 3
       user config file : /home/ktlim/.condarc
 populated config files : /home/ktlim/stack2/conda/.condarc
                          /home/ktlim/.condarc
          conda version : 4.11.0
    conda-build version : not installed
         python version : 3.9.10.final.0
       virtual packages : __linux=3.10.0=0
                          __glibc=2.17=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/ktlim/stack2/conda  (writable)
      conda av data dir : /home/ktlim/stack2/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/intel/linux-64
                          https://conda.anaconda.org/intel/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/ktlim/stack2/conda/pkgs
                          /home/ktlim/.conda/pkgs
       envs directories : /home/ktlim/stack2/conda/envs
                          /home/ktlim/.conda/envs
               platform : linux-64
             user-agent : conda/4.11.0 requests/2.27.1 CPython/3.9.10 Linux/3.10.0-1160.49.1.el7.x86_64 centos/7.9.2009 glibc/2.17
                UID:GID : 49831:202
             netrc file : None
           offline mode : False

globally pin the pybind11 versions

Issue:


Environment (conda list):
$ conda list


Details about conda and system ( conda info ):
$ conda info

We got a report from @bluescarni (see conda-forge/conda-forge-pinning-feedstock#849 (comment)) that different pybind11 versions generate python libraries which are not interoperable between one another.

Assuming this is, in fact, true, we plan to globally pin the version of pybind11 for all of conda-forge. See conda-forge/conda-forge-pinning-feedstock#849. This will ease the maintenance burden for users who want to use different packages together and don't want to run around updating pins in recipes.

cc @conda-forge/core @conda-forge/pybind11

Feedstock is broken (Docker issue?)

Dear Conda-forge masters,

merging the auto-generated version bump had unintended consequences, the feedstock is now broken with some obscure docker issue that I don't understand. Would you mind taking a look?

Best,
Wenzel

cc @SylvainCorlay, @ax3l

install with both cmake and setuptools

Hi
I have a question about pybind11, why in the build.sh pybind11 is installed via cmake and setuptools?
both of them installs the same headers to different locations

  • cmake installs the headers to $PREFIX/include and the *Config.cmake files to $PREFIX/share/cmake/pybind11
  • python setuptools install the headers to $PREFIX/include/python<major.minor>/site-packages/pybind11/include/pybind11

Why both of them are needed?

  • If I choose to build usingcmake then I will surly use find_package(Python REQUIRED) and then I will have all the headers located within python include directory (because of the setuptools installation) which makes the pure cmake installation redundant (there is no need to find_package(pybind11 REQUIRED)).
  • If I choose to build using setuptools then I surely don't need any of the *Config.cmake files.

python is obviously installed when working with pybind11 so is there any reason to prefer cmake build over setuptools?

I would like to know the rational behind installing pybind11 with both solutions since I want to add this awesome library to buildroot and I want to understand if I need to port both installation solutions in order to install pybind11 properly.
I'm looking forward to use pybind11 in my embedded linux projects!

unresolved external symbol __imp_strdup referenced in function "protected: void __cdecl pybind11::cpp_function::initialize_generic(...)

I am trying to compile an aplication for windows which uses pybind11. Now I am struggeling with this problem. I don't know if this is related to my code, the conda package of pybind11 or pybind11 itself. Maybe someone has an idea what the source of this problem is...

MeshFlatteningPy.cpp.obj : error LNK2019: unresolved external symbol __imp_strdup referenced in function "protected: void __cdecl pybind11::cpp_function::initialize_generic(struct pybind11::detail::function_record *,char const *,class type_info const * const *,unsigned __int64)" (?initialize_generic@cpp_function@pybind11@@IEAAXPEAUfunction_record@detail@2@PEBDPEBQEBVtype_info@@_K@Z)

more than one python install per package

Issue: When I run conda list I get the following

pybind11                  2.6.1            py37h8ec247f_0    conda-forge
pybind11-global           2.6.1                    pypi_0    pypi

This happens even though I have not used pip to install anything and is due to conda/conda#10400. Note that a second pip install in the package is happening here in the recipe: https://github.com/conda-forge/pybind11-feedstock/blob/master/recipe/meta.yaml#L22

The issue is that when one exports an environment to a yaml file, you incorrectly get that pybind11-global should be installed from pip.

This can be fixed by moving the second pip install to a second output.


Environment (conda list):
$ conda list

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.7.4) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

# packages in environment at /Users/beckermr/miniconda3/envs/ngmix-dev:
#
# Name                    Version                   Build  Channel
appnope                   0.1.2            py37hf985489_0    conda-forge
argon2-cffi               20.1.0           py37h60d8a13_2    conda-forge
astropy                   4.2              py37he6e4e01_0    conda-forge
async_generator           1.10                       py_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.1                      py_0    conda-forge
bleach                    3.2.1              pyh9f0ad1d_0    conda-forge
ca-certificates           2020.12.5            h033912b_0    conda-forge
certifi                   2020.12.5        py37hf985489_0    conda-forge
cffi                      1.14.4           py37hc5b2277_1    conda-forge
coverage                  5.3              py37h60d8a13_1    conda-forge
cycler                    0.10.0                     py_2    conda-forge
dbus                      1.13.6               h1730f81_1    conda-forge
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
eigen                     3.3.9                h926bf3e_0    conda-forge
entrypoints               0.3             py37hc8dfbb8_1002    conda-forge
expat                     2.2.9                hb1e8313_2    conda-forge
fftw                      3.3.8           nompi_hff78070_1114    conda-forge
flake8                    3.8.4                      py_0    conda-forge
freetype                  2.10.4               ha233b18_0    conda-forge
future                    0.18.2           py37hf985489_2    conda-forge
galsim                    2.2.4            py37h6769806_1    conda-forge
gettext                   0.19.8.1          h7937167_1005    conda-forge
glib                      2.66.3               h519c658_1    conda-forge
icu                       67.1                 hb1e8313_0    conda-forge
importlib-metadata        3.1.1              pyhd8ed1ab_0    conda-forge
importlib_metadata        3.1.1                hd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
ipykernel                 5.3.4            py37he01cfaa_1    conda-forge
ipython                   7.19.0           py37he01cfaa_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.5.1              pyh9f0ad1d_1    conda-forge
jedi                      0.17.2           py37hf985489_1    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
jpeg                      9d                   hbcb3906_0    conda-forge
jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
jupyter                   1.0.0                      py_2    conda-forge
jupyter_client            6.1.7                      py_0    conda-forge
jupyter_console           6.2.0                      py_0    conda-forge
jupyter_core              4.7.0            py37hf985489_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
kiwisolver                1.3.1            py37h8ec247f_0    conda-forge
krb5                      1.17.2               h60d9502_0    conda-forge
lcms2                     2.11                 hdc706ca_1    conda-forge
libblas                   3.9.0                3_openblas    conda-forge
libcblas                  3.9.0                3_openblas    conda-forge
libclang                  10.0.1          default_hf57f61e_1    conda-forge
libcxx                    11.0.0               h4c3b8ed_1    conda-forge
libedit                   3.1.20191231         hed1e85f_2    conda-forge
libffi                    3.3                  h046ec9c_2    conda-forge
libgfortran               5.0.0               h7cc5361_13    conda-forge
libgfortran4              7.5.0               h2d743fc_11    conda-forge
libgfortran5              9.3.0               h7cc5361_13    conda-forge
libglib                   2.66.3               h60154bc_1    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
liblapack                 3.9.0                3_openblas    conda-forge
libllvm10                 10.0.1               h009f743_3    conda-forge
libopenblas               0.3.12          openmp_h54245bb_1    conda-forge
libpng                    1.6.37               hb0a8c7a_2    conda-forge
libpq                     12.3                 h0cb8f33_3    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libtiff                   4.1.0                hca7d577_6    conda-forge
libwebp-base              1.1.0                hbcb3906_3    conda-forge
llvm-openmp               11.0.0               h73239a0_1    conda-forge
llvmlite                  0.35.0           py37hd739bdf_0    conda-forge
lsstdesc.coord            1.2.1            py37hb449ec0_1    conda-forge
lz4-c                     1.9.2                hb1e8313_3    conda-forge
markupsafe                1.1.1            py37h395d20d_2    conda-forge
matplotlib                3.3.3            py37hf985489_0    conda-forge
matplotlib-base           3.3.3            py37hdacc966_0    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py37h60d8a13_1002    conda-forge
more-itertools            8.6.0              pyhd8ed1ab_0    conda-forge
mysql-common              8.0.21                        2    conda-forge
mysql-libs                8.0.21               hfb8f7af_2    conda-forge
nb_conda_kernels          2.3.1            py37hf985489_0    conda-forge
nbclient                  0.5.1                      py_0    conda-forge
nbconvert                 6.0.7            py37hf985489_3    conda-forge
nbformat                  5.0.8                      py_0    conda-forge
ncurses                   6.2                  h2e338ed_4    conda-forge
nest-asyncio              1.4.3              pyhd8ed1ab_0    conda-forge
ngmix                     2.0.0                     dev_0    <develop>
notebook                  6.1.5            py37hf985489_0    conda-forge
nspr                      4.29                 hb1e8313_1    conda-forge
nss                       3.47                 hcec2283_0    conda-forge
numba                     0.52.0           py37h53bd85b_0    conda-forge
numpy                     1.19.4           py37h9ebeaaa_1    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openssl                   1.1.1h               haf1e3a3_0    conda-forge
packaging                 20.7               pyhd3deb0d_0    conda-forge
pandas                    1.1.5            py37h010c265_0    conda-forge
pandoc                    2.11.2               hc929b4f_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.7.1              pyh9f0ad1d_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.44                 hb1e8313_0    conda-forge
pexpect                   4.8.0            py37hc8dfbb8_1    conda-forge
pickleshare               0.7.5           py37hc8dfbb8_1002    conda-forge
pillow                    8.0.1            py37hf860fee_0    conda-forge
pip                       20.3.1             pyhd8ed1ab_0    conda-forge
pluggy                    0.13.1           py37hc8dfbb8_3    conda-forge
prometheus_client         0.9.0              pyhd3deb0d_0    conda-forge
prompt-toolkit            3.0.8              pyha770c72_0    conda-forge
prompt_toolkit            3.0.8                         0    conda-forge
proplot                   0.6.4                      py_0    conda-forge
ptyprocess                0.6.0                 py37_1000    conda-forge
py                        1.9.0              pyh9f0ad1d_0    conda-forge
pybind11                  2.6.1            py37h8ec247f_0    conda-forge
pybind11-global           2.6.1                    pypi_0    pypi
pycodestyle               2.6.0              pyh9f0ad1d_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyerfa                    1.7.1.1          py37he6e4e01_1    conda-forge
pyflakes                  2.2.0              pyh9f0ad1d_0    conda-forge
pygments                  2.7.3              pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py37hf985489_6    conda-forge
pyqt-impl                 5.12.3           py37h5ae2165_6    conda-forge
pyqt5-sip                 4.19.18          py37h5ab9d7d_6    conda-forge
pyqtchart                 5.12             py37h5ae2165_6    conda-forge
pyqtwebengine             5.12.1           py37h5ae2165_6    conda-forge
pyrsistent                0.17.3           py37h60d8a13_1    conda-forge
pytest                    6.1.2            py37hf985489_0    conda-forge
pytest-cov                2.10.1             pyh9f0ad1d_0    conda-forge
python                    3.7.8           h4f09611_3_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytz                      2020.4             pyhd8ed1ab_0    conda-forge
pyzmq                     20.0.0           py37h47fd9b3_1    conda-forge
qt                        5.12.9               h717870c_0    conda-forge
qtconsole                 5.0.1              pyhd8ed1ab_0    conda-forge
qtpy                      1.9.0                      py_0    conda-forge
readline                  8.0                  h0678c8f_2    conda-forge
scipy                     1.5.3            py37h821cff1_0    conda-forge
seaborn                   0.11.0               h694c41f_1    conda-forge
seaborn-base              0.11.0             pyhd8ed1ab_1    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                49.6.0           py37h2987424_2    conda-forge
simplegeneric             0.8.1                      py_1    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.34.0               h17101e1_0    conda-forge
statsmodels               0.12.1           py37h8ba3199_1    conda-forge
terminado                 0.9.1            py37hf985489_1    conda-forge
testpath                  0.4.4                      py_0    conda-forge
tk                        8.6.10               hb0a8c7a_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1              py37h4b544eb_0    conda-forge
traitlets                 5.0.5                      py_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.36.1             pyhd3deb0d_0    conda-forge
widgetsnbextension        3.5.1            py37hf985489_4    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
zeromq                    4.3.3                h74dc148_3    conda-forge
zipp                      3.4.0                      py_0    conda-forge
zlib                      1.2.11            h7795811_1010    conda-forge
zstd                      1.4.5                h0384e3a_2    conda-forge


Details about conda and system ( conda info ):
$ conda info

     active environment : ngmix-dev
    active env location : /Users/beckermr/miniconda3/envs/ngmix-dev
            shell level : 2
       user config file : /Users/beckermr/.condarc
 populated config files : /Users/beckermr/.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.8.6.final.0
       virtual packages : __osx=10.14.6=0
                          __unix=0=0
                          __archspec=1=skylake
       base environment : /Users/beckermr/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/beckermr/miniconda3/pkgs
                          /Users/beckermr/.conda/pkgs
       envs directories : /Users/beckermr/miniconda3/envs
                          /Users/beckermr/.conda/envs
               platform : osx-64
             user-agent : conda/4.9.2 requests/2.25.0 CPython/3.8.6 Darwin/18.7.0 OSX/10.14.6
                UID:GID : 501:20
             netrc file : /Users/beckermr/.netrc
           offline mode : False

Headers not installed on Python 2.7

I'm not sure if this is the right place to open this issue but I don't have any problem when I install using pip or from source. My apologies if this should be opened elsewhere.

All of my Python 2.7 builds on travis just started failing because it looks like this recipe no longer installs the pybind11 headers in the expected place (or anywhere, as far as I can tell!). I've tested on my own machine and I find the same behavior. Everything is there when I install using conda-forge and Python 3.x but not on Python 2.7.

I expect that this has something to do with the recent switch to the CMake build but I haven't been able to track down the culprit.

Thanks!

Feedstock issues

After deploying the latest pybind11 version in the feedstock, there seem to be some issues with the CI bots.

The CircleCI bot did not pick up the new revision, and I can't seem to find out how to trigger it manually. AppVeyor has been in "queued" mode for hours -- I assume that it will be picked up eventually.

distutils style vs CMake style installation

Would you consider reformulating the recipe so that it pulls from GitHub and "builds" and installs with CMake? That way the directory structure would be more standard (include/pybind instead of include/python3.5m/pybind) and some extra files would get installed (e.g. pybind11Config.cmake). I think users of a C++ template library would expect more of a GNU project than python project layout. Up to you, of course, I don't mean to be pybind11's resident CMake nag.

I'm glad to help on the recipe if you're interested in making the change.

pybind11-abi test script is silently broken for pybind11 2.12, and may be missing ABI version 5

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

- if [ $(grep "#define PYBIND11_INTERNALS_VERSION" include/pybind11/detail/internals.h | cut -d' ' -f3) != "{{ abi_version }}" ]; then exit 1; fi

This test looks for a define in pybind11 source that does not actually exist anymore

https://github.com/pybind/pybind11/blob/f33f6afb667b6b5c0da7dee98dc02f51b4cc0e96/include/pybind11/detail/internals.h#L40

In addition it looks like there are interesting ABI changes for py 3.12 that the recipe might not be reflecting

You can check the build log and see that the bash test now emits a scripting error about missing arguments and then the build passes anyway. So this test is broken.

Sorry that this is light on details, I am away from my computers at the moment and could not log an issue from where I spotted the problem originally due to network policy.

Installed packages

N/A

Environment info

N/A

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.