GithubHelp home page GithubHelp logo

hypothesis-feedstock's Introduction

About hypothesis-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/HypothesisWorks/hypothesis-python

Package license: MPL-2.0

Summary: A library for property based testing

Current build status

All platforms:

Current release info

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

Installing hypothesis

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

conda install hypothesis

or with mamba:

mamba install hypothesis

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

conda search hypothesis --channel conda-forge

or with mamba:

mamba search hypothesis --channel conda-forge

Alternatively, mamba repoquery may provide more information:

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

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

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

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

hypothesis-feedstock's People

Contributors

beckermr avatar chrisburr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar ericmjl avatar github-actions[bot] avatar isuruf avatar jochym avatar mariusvniekerk avatar ocefpaf avatar regro-cf-autotick-bot avatar tadeu avatar xhochy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hypothesis-feedstock's Issues

Staying current with Hypothesis releases

Upstream issue: HypothesisWorks/hypothesis#555

In short, a new and terrifying age of continuous deployment is here for Hypothesis - every pull with changes to ./src automatically results in a new release, averaging weekly but rarely up to several times per day. Obviously trying to keep up by hand is not working, and as a conda-forge user and Hypothesis maintainer this seems like something I can help with. So:

  • To what extent can updates to the feedstock be automated?
  • How much of this work can we do upstream? (scripts already push tags, build and deploy to PyPI, etc)

Namespace issues with latest conda-forge package

We have updated to the lastest version on conda-forge and it fails to import.

>>> import hypothesis
>>> dir(hypothesis)
['__doc__', '__loader__', '__name__', '__package__', '__path__', '__spec__']

The pip version for comparison

>>> import hypothesis
>>> dir(hypothesis)
['HealthCheck', 'Phase', 'Verbosity', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '__version_info__', '_settings', 'assume', 'configuration', 'control', 'core', 'errors', 'event', 'example', 'executors', 'find', 'given', 'infer', 'internal', 'note', 'reject', 'reporting', 'searchstrategy', 'seed', 'settings', 'statistics', 'strategies', 'unlimited', 'utils', 'vendor', 'version']

Please make this a noarch package

Are there any machine-specific code paths in hypothesis? If not, it would be nice to convert this to a noarch package to save resources.

Cannot install (with mamba)

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

When installing version 6.52.3 I get this error

Encountered problems while solving:
  - nothing provides exceptiongroup >=1.0.0rc8 needed by hypothesis-6.52.3-pyhd8ed1ab_0

This change apparently then is the culprit.

Is this maybe a problem with mamba? Since obviously the package/recipe build here succeeded without errors?

Installed packages

This is the base env

    Package              Version  Build               Channel                 Size
  ──────────────────────────────────────────────────────────────────────────────────
    Install:
  ──────────────────────────────────────────────────────────────────────────────────
  
    + bzip2                1.0.8  h0d85af4_4          conda-forge/osx-64     159kB
    + ca-certificates  2022.6.15  h033912b_0          conda-forge/osx-64     153kB
    + libffi               3.4.2  h0d85af4_5          conda-forge/osx-64      51kB
    + libzlib             1.2.12  hfe4f2af_2          conda-forge/osx-64      65kB
    + ncurses                6.3  h96cf925_1          conda-forge/osx-64     937kB
    + openssl              3.0.5  hfe4f2af_0          conda-forge/osx-64       3MB
    + pip                 22.2.1  pyhd8ed1ab_0        conda-forge/noarch       2MB
    + python              3.9.13  hf8d34f4_0_cpython  conda-forge/osx-64      13MB
    + python_abi             3.9  2_cp39              conda-forge/osx-64       4kB
    + readline             8.1.2  h3899abd_0          conda-forge/osx-64     272kB
    + setuptools          63.3.0  py39h6e9494a_0      conda-forge/osx-64       1MB
    + sqlite              3.39.2  hd9f0692_0          conda-forge/osx-64       2MB
    + tk                  8.6.12  h5dbffcc_0          conda-forge/osx-64       4MB
    + tzdata               2022a  h191b570_0          conda-forge/noarch     124kB
    + wheel               0.37.1  pyhd8ed1ab_0        conda-forge/noarch      32kB
    + xz                   5.2.5  haf1e3a3_1          conda-forge/osx-64     233kB
    + zlib                1.2.12  hfe4f2af_2          conda-forge/osx-64      95kB

Environment info

Best I can do for this is https://github.com/pymor/pymor/runs/7618149039?check_suite_focus=true#step:5:2

The error happens in all our macos, linux and windows builders. These all try to install the same packages, and all currently fail with above message.

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.