GithubHelp home page GithubHelp logo

bleach-feedstock's Introduction

About bleach-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/mozilla/bleach

Package license: Apache-2.0

Summary: Easy, whitelist-based HTML-sanitizing tool

Development: https://github.com/mozilla/bleach

Documentation: https://bleach.readthedocs.io/

Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes.

Current build status

All platforms:

Current release info

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

Installing bleach

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

conda install bleach

or with mamba:

mamba install bleach

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

conda search bleach --channel conda-forge

or with mamba:

mamba search bleach --channel conda-forge

Alternatively, mamba repoquery may provide more information:

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

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

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

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

bleach-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar github-actions[bot] avatar jakirkham avatar jjhelmus avatar jschueller avatar mingwandroid avatar minrk avatar nehaljwani avatar ocefpaf avatar regro-cf-autotick-bot avatar tjd2002 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bleach-feedstock's Issues

5.0: please run_constrained nbconvert

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Hooray bleach 5.0!

Boo for unpinned downstreams, a la jupyter/nbconvert#1754

I guess if possible, it would be lovely to preemtively have:

run_constrained:
  - nbconvert <6.5

But i don't know how quickly we'd be able to handle the transition, if we were able to support both.

Installed packages

ncbonvert <=6.4.3
bleach 5.0.0

Environment info

...

Package includes pip-installed packages: six + webencodings

Issue:
Bleach 3.0.0-3.0.2 conda packages contain extra, pip-installed copies of six and webencodings.

This is apparently due to this commit from @ocefpaf : 40ff633, which removed the --no-deps and --ignore-installed options to pip install.

Perhaps this was done in anticipation of conda-build providing these flags automatically as env vars, but if so it seems to have been premature.

You can confirm that this is the case by inspecting the tarball at https://anaconda.org/conda-forge/bleach/files, or by installing it and looking at the installed package.

conda create -c conda-forge -n bleach-issue bleach

tree -d $_CONDA_ROOT/pkgs/bleach-3.0.2-py_0/
/Users/XXX/conda/pkgs/bleach-3.0.2-py_0/
├── info
│   ├── recipe
│   └── test
└── site-packages
    ├── bleach
    │   └── _vendor
    │       ├── html5lib
    │       │   ├── _trie
    │       │   ├── filters
    │       │   ├── treeadapters
    │       │   ├── treebuilders
    │       │   └── treewalkers
    │       └── html5lib-1.0.1.dist-info
    ├── bleach-3.0.2.dist-info
    ├── six-1.11.0.dist-info
    ├── webencodings
    └── webencodings-0.5.1.dist-info

17 directories


Environment (conda list):
$ conda list
# packages in environment at /Users/XXX/conda/envs/bleach-issue:
#
# Name                    Version                   Build  Channel
bleach                    3.0.2                      py_0    conda-forge
ca-certificates           2018.11.29           ha4d7672_0    conda-forge
certifi                   2018.11.29            py37_1000    conda-forge
libffi                    3.2.1                hfc679d8_5    conda-forge
ncurses                   6.1                  hfc679d8_2    conda-forge
openssl                   1.0.2p               h470a237_1    conda-forge
pip                       18.1                  py37_1000    conda-forge
python                    3.7.1                h46c1a51_0    conda-forge
readline                  7.0                  haf1bffa_1    conda-forge
setuptools                40.6.3                   py37_0    conda-forge
six                       1.12.0                py37_1000    conda-forge
sqlite                    3.26.0               hb1c47c0_0    conda-forge
tk                        8.6.9                ha92aebf_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.32.3                   py37_0    conda-forge
xz                        5.2.4                h470a237_1    conda-forge
zlib                      1.2.11               h470a237_3    conda-forge

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

     active environment : None
            shell level : 0
       user config file : /Users/XXX/.condarc
 populated config files : /Users/XXX/.condarc
          conda version : 4.5.11
    conda-build version : 3.16.3
         python version : 3.7.0.final.0
       base environment : /Users/XXX/conda  (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/free/osx-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/osx-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /Users/XXX/conda/pkgs
                          /Users/XXX/.conda/pkgs
       envs directories : /Users/XXX/conda/envs
                          /Users/XXX/.conda/envs
               platform : osx-64
             user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Darwin/18.0.0 OSX/10.14
                UID:GID : 501:20
             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.