Git Product home page Git Product logo

python-symengine-feedstock's Introduction

About python-symengine-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/symengine/symengine.py

Package license: MIT

Summary: Python wrappers for SymEngine, a fast symbolic manipulation library, written in C++

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

Installing python-symengine

Installing python-symengine 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, python-symengine can be installed with conda:

conda install python-symengine

or with mamba:

mamba install python-symengine

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

conda search python-symengine --channel conda-forge

or with mamba:

mamba search python-symengine --channel conda-forge

Alternatively, mamba repoquery may provide more information:

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

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

# List dependencies of `python-symengine`:
mamba repoquery depends python-symengine --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 python-symengine-feedstock

If you would like to improve the python-symengine 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/python-symengine-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

python-symengine-feedstock's People

Contributors

conda-forge-admin avatar conda-forge-curator[bot] avatar github-actions[bot] avatar isuruf avatar jakirkham avatar ocefpaf avatar regro-cf-autotick-bot avatar

Watchers

 avatar  avatar  avatar  avatar

python-symengine-feedstock's Issues

Package resolution issues

I'm currently getting this warning:

moorepants@garuda:~$ conda update --all
Fetching package metadata ...........
Solving package specifications: .
Warning: 2 possible package resolutions (only showing differing packages):
  - conda-forge::python-symengine-0.2.0-py35_1, conda-forge::symengine-0.2.0-1
  - conda-forge::python-symengine-0.1.0.dev0-py35_0, conda-forge::symengine-0.3.0-1

Package plan for installation in environment /home/moorepants/miniconda3:

The following packages will be UPDATED:

    python-symengine: 0.1.0.dev0-py35_0 conda-forge --> 0.2.0-py35_1 conda-forge

The following packages will be DOWNGRADED:

    symengine:        0.3.0-1           conda-forge --> 0.2.0-1      conda-forge

Missing zstd host dependency?

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

symengine/lib/symengine_wrapper.*.so seems to link against libzstd.so without being specified as a host dependency. When I run ldd symengine/lib/symengine_wrapper.cpython-312-x86_64-linux-gnu.so on Fedora I see:

        linux-vdso.so.1 (0x00007ffc8352c000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f045553c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f045535e000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f045912c000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0459125000)
        libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f04552a2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0459179000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f0458d49000)

I think everything besides libzstd is normal (I deleted all the entries for libraries found in my conda environment). Since I have libzstd installed on my host, I can still import symengine in Python without issue. However, when I was trying to test another package that depends on python-symengine, the import failed in CI here. I wonder why the linker checker didn't flag this.

Here is the CI log in case it gets purged:

2024-01-03T20:08:36.5838509Z import: 'qiskit'
2024-01-03T20:08:36.7033569Z Traceback (most recent call last):
2024-01-03T20:08:36.7034438Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/test_tmp/run_test.py", line 2, in <module>
2024-01-03T20:08:36.7038871Z     import qiskit
2024-01-03T20:08:36.7041012Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/qiskit/__init__.py", line 61, in <module>
2024-01-03T20:08:36.7050216Z     from qiskit.circuit import ClassicalRegister
2024-01-03T20:08:36.7051708Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/qiskit/circuit/__init__.py", line 365, in <module>
2024-01-03T20:08:36.7062202Z     from .quantumcircuit import QuantumCircuit
2024-01-03T20:08:36.7067858Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/qiskit/circuit/quantumcircuit.py", line 43, in <module>
2024-01-03T20:08:36.7069671Z     from qiskit.utils.multiprocessing import is_main_process
2024-01-03T20:08:36.7070458Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/qiskit/utils/__init__.py", line 48, in <module>
2024-01-03T20:08:36.7150065Z     from .units import apply_prefix, detach_prefix
2024-01-03T20:08:36.7151667Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/qiskit/utils/units.py", line 18, in <module>
2024-01-03T20:08:36.7152253Z     from qiskit.circuit.parameterexpression import ParameterExpression
2024-01-03T20:08:36.7153060Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/qiskit/circuit/parameterexpression.py", line 23, in <module>
2024-01-03T20:08:36.7153543Z     import symengine
2024-01-03T20:08:36.7154298Z   File "/home/conda/feedstock_root/build_artifacts/qiskit_1704312171365/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/symengine/__init__.py", line 12, in <module>
2024-01-03T20:08:36.7154789Z     import symengine.lib.symengine_wrapper as wrapper
2024-01-03T20:08:36.7155074Z ImportError: libzstd.so.1: cannot open shared object file: No such file or directory

Installed packages

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
bzip2                     1.0.8                hd590300_5    conda-forge
ca-certificates           2023.11.17           hbcca054_0    conda-forge
gf2x                      1.3.0                ha476b99_2    conda-forge
gmp                       6.3.0                h59595ed_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libexpat                  2.5.0                hcb278e6_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libflint                  2.9.0           h2f819a4_ntl_100    conda-forge
libgcc-ng                 13.2.0               h807b86a_3    conda-forge
libgomp                   13.2.0               h807b86a_3    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libsqlite                 3.44.2               h2797004_0    conda-forge
libstdcxx-ng              13.2.0               h7e041cc_3    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
mpc                       1.3.1                hfe3b2da_0    conda-forge
mpfr                      4.2.1                h9458935_0    conda-forge
ncurses                   6.4                  h59595ed_2    conda-forge
ntl                       11.4.3               hef3c4d3_1    conda-forge
openssl                   3.2.0                hd590300_1    conda-forge
pip                       23.3.2             pyhd8ed1ab_0    conda-forge
python                    3.12.1          hab00c5b_1_cpython    conda-forge
python-symengine          0.11.0          py312h83f29e1_1    conda-forge
python_abi                3.12                    4_cp312    conda-forge
readline                  8.2                  h8228510_1    conda-forge
setuptools                69.0.3             pyhd8ed1ab_0    conda-forge
symengine                 0.11.2               hb29318e_0    conda-forge
tk                        8.6.13          noxft_h4845f30_101    conda-forge
tzdata                    2023d                h0c530f3_0    conda-forge
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge

Environment info

active environment : tmp2
    active env location : /.conda/envs/tmp2
            shell level : 3
       user config file : /.condarc
 populated config files : /.conda/.condarc
                          /.condarc
          conda version : 23.7.4
    conda-build version : not installed
         python version : 3.11.6.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.37=0
                          __linux=6.6.2=0
                          __unix=0=0
       base environment : /.conda  (writable)
      conda av data dir : /.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
          package cache : /.conda/pkgs
       envs directories : /.conda/envs
               platform : linux-64
             user-agent : conda/23.7.4 requests/2.31.0 CPython/3.11.6 Linux/6.6.2-201.fc39.x86_64 fedora/38 glibc/2.37
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

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.