GithubHelp home page GithubHelp logo

expat-feedstock's Introduction

About expat-feedstock

Feedstock license: BSD-3-Clause

Home: http://expat.sourceforge.net/

Package license: MIT

Summary: Expat XML parser library in C

Current build status

Azure
VariantStatus
linux_64 variant
linux_aarch64 variant
linux_ppc64le variant
osx_64 variant
osx_arm64 variant
win_64 variant

Current release info

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

Installing expat

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

conda install expat libexpat

or with mamba:

mamba install expat libexpat

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

conda search expat --channel conda-forge

or with mamba:

mamba search expat --channel conda-forge

Alternatively, mamba repoquery may provide more information:

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

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

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

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

expat-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar gillins avatar github-actions[bot] avatar h-vetinari avatar isuruf avatar jschueller avatar mariusvniekerk avatar ocefpaf avatar pelson avatar regro-cf-autotick-bot avatar scopatz avatar seanyen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

expat-feedstock's Issues

Heads-up: expat-2.2.9 renames the DLL on Windows

Issue: Expat 2.2.9 renames the DLL from expat.dll to libexpat.dll.


Environment (conda list):
(expat-vtk-py36) λ conda list
# packages in environment at X:\1\envs\expat-vtk-py36:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.6                    vc14_1  [vc14]  mirror-conda-forge
ca-certificates           2019.11.28           hecc5488_0    mirror-conda-forge
certifi                   2019.11.28               py36_0    mirror-conda-forge
curl                      7.65.3               h4496350_0    mirror-conda-forge
expat                     2.2.9                he025d50_0    mirror-conda-forge
freetype                  2.10.0               h563cfd7_1    mirror-conda-forge
future                    0.18.2                   py36_0    mirror-conda-forge
hdf4                      4.2.13            hf8e6fe8_1003    mirror-conda-forge
hdf5                      1.10.4+1             h6538335_3    esss
jpeg                      9c                hfa6e2cd_1001    mirror-conda-forge
jsoncpp                   1.8.4             h1ad3211_1002    mirror-conda-forge
krb5                      1.16.4               hdd46e55_0    mirror-conda-forge
libcurl                   7.65.3               h4496350_0    mirror-conda-forge
libiconv                  1.15              hfa6e2cd_1005    mirror-conda-forge
libnetcdf                 4.6.2             h396784b_1001    mirror-conda-forge
libpng                    1.6.37               h7602738_0    mirror-conda-forge
libssh2                   1.8.2                h642c060_2    mirror-conda-forge
libtiff                   4.0.9             h36446d0_1002    mirror-conda-forge
libxml2                   2.9.10               h9ce36c8_0    mirror-conda-forge
lz4-c                     1.8.3             he025d50_1001    mirror-conda-forge
openssl                   1.1.1d               hfa6e2cd_0    mirror-conda-forge
pip                       20.0.2                   py36_0    mirror-conda-forge
python                    3.6.7             he025d50_1006    mirror-conda-forge
setuptools                45.1.0                   py36_0    mirror-conda-forge
tbb                       2019.9               he980bc4_1    mirror-conda-forge
tk                        8.6.10               hfa6e2cd_0    mirror-conda-forge
vc                        14.1                 h0510ff6_4    mirror-main
vs2015_runtime            14.16.27012          hf0eaf9b_1    mirror-main
vtk                       8.2.0           py36h2e9203a_201    mirror-conda-forge
wheel                     0.34.1                   py36_0    mirror-conda-forge
wincertstore              0.2                   py36_1003    mirror-conda-forge
zlib                      1.2.11                   vc14_0  [vc14]  mirror-conda-forge


Details about conda and system ( conda info ):
(expat-vtk-py36) λ conda info

     active environment : expat-vtk-py36
    active env location : X:\1\envs\expat-vtk-py36
            shell level : 1
       user config file : C:\Users\tnobrega.ESSS.CO\.condarc
 populated config files : C:\Miniconda\.condarc
                          X:\1\.condarc
          conda version : 4.6.2
    conda-build version : 3.17.8
         python version : 3.6.7.final.0
       base environment : C:\Miniconda  (writable)
           channel URLs : https://esss:<omitted>@eden.esss.com.br/conda-channel/esss/win-64
                          https://esss:<omitted>@eden.esss.com.br/conda-channel/esss/noarch
                          https://esss:<omitted>@eden.esss.com.br/conda-channel/mirror-main/win-64
                          https://esss:<omitted>@eden.esss.com.br/conda-channel/mirror-main/noarch
                          https://esss:<omitted>@eden.esss.com.br/conda-channel/mirror-conda-forge/win-64
                          https://esss:<omitted>@eden.esss.com.br/conda-channel/mirror-conda-forge/noarch
          package cache : X:\1\envs\.pkgs
       envs directories : X:\1\envs
                          C:\Miniconda\envs
                          C:\Users\tnobrega.ESSS.CO\.conda\envs
                          C:\Users\tnobrega.ESSS.CO\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.6.2 requests/2.22.0 CPython/3.6.7 Windows/10 Windows/10.0.17763
          administrator : True
             netrc file : None
           offline mode : False

Expat version 2.2.9 renames the DLL from expat.dll to libexpat.dll. This breaks packages with binaries that were compiled against expat.dll but that didn't pin expat to the patch (the previous version is 2.2.5). For example, VTK:

(expat-vtk-py36) λ python -c "import vtk"
Traceback (most recent call last):
  File "X:\1\envs\expat-vtk-py36\lib\site-packages\vtkmodules\vtkIOXMLParser.py", line 5, in <module>
    from .vtkIOXMLParserPython import *
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "X:\1\envs\expat-vtk-py36\lib\site-packages\vtk.py", line 32, in <module>
    all_spec.loader.exec_module(all_m)
  File "X:\1\envs\expat-vtk-py36\lib\site-packages\vtkmodules\all.py", line 31, in <module>
    from .vtkIOXMLParser import *
  File "X:\1\envs\expat-vtk-py36\lib\site-packages\vtkmodules\vtkIOXMLParser.py", line 9, in <module>
    from vtkIOXMLParserPython import *
ModuleNotFoundError: No module named 'vtkIOXMLParserPython'

The load fails because expat.dll can't be found. From Dependencies:

image

In our case we "solved" this by pinning the expat version to 2.2.5. This issue is mostly a heads-up to the maintainer because I expect this to break other packages.

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.