Giter Club home page Giter Club logo

nose-feedstock's Introduction

About nose

Home: http://readthedocs.org/docs/nose/

Package license: LGPL-2.1-only

Feedstock license: BSD-3-Clause

Summary: Nose extends unittest to make testing easier

Development: https://github.com/nose-devs/nose/

Documentation: https://nose.readthedocs.org

NOTE: Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2.

Current build status

All platforms:

Current release info

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

Installing nose

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

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, nose can be installed with:

conda install nose

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

conda search nose --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 CircleCI, AppVeyor 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 nose-feedstock

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

nose-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar dwhswenson avatar jakirkham avatar jjhelmus avatar mariusvniekerk avatar msarahan avatar ocefpaf avatar scopatz avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nose-feedstock's Issues

`setuptools` run requirement

Looks like nose requires setuptools to run certain things.

Like at the bottom of https://circleci.com/gh/conda-forge/staged-recipes/7668

+ nosetests cycpp_tests.py
Traceback (most recent call last):
  File "/opt/conda/envs/_test/bin/nosetests", line 6, in <module>
    sys.exit(nose.run_exit())
  File "/opt/conda/envs/_test/lib/python3.5/site-packages/nose/core.py", line 121, in __init__
    **extra_args)
  File "/opt/conda/envs/_test/lib/python3.5/unittest/main.py", line 93, in __init__
    self.parseArgs(argv)
  File "/opt/conda/envs/_test/lib/python3.5/site-packages/nose/core.py", line 145, in parseArgs
    self.config.configure(argv, doc=self.usage())
  File "/opt/conda/envs/_test/lib/python3.5/site-packages/nose/config.py", line 281, in configure
    options, args = self._parseArgs(argv, cfg_files)
  File "/opt/conda/envs/_test/lib/python3.5/site-packages/nose/config.py", line 268, in _parseArgs
    self.getParser(), self.configSection, file_error=warn_sometimes)
  File "/opt/conda/envs/_test/lib/python3.5/site-packages/nose/config.py", line 590, in getParser
    self.plugins.loadPlugins()
  File "/opt/conda/envs/_test/lib/python3.5/site-packages/nose/plugins/manager.py", line 378, in loadPlugins
    from pkg_resources import iter_entry_points
ImportError: cannot import name 'iter_entry_points'

Borrowed from gitter.

cc @scopatz

Upload failure Travis CI Python 3.5

Appears the Python 3.5 OS X package failed to upload. Have copied the snippet from the failure below. Have paste the log into this gist. Am going to restart Travis CI to get this uploaded, which sadly will replace the log there.

See issue ( conda-forge/conda-smithy#267 ) for ensuring failure on bad upload with Travis CI. See issue ( conda-forge/status#4 ) for details on the general Anaconda upload issues experienced at conda-forge. See issue ( https://github.com/Anaconda-Platform/support/issues/60 ) for the outline of the problem experience when uploading to Anaconda.org.

$ ./ci_support/upload_or_check_non_existence.py ./recipe conda-forge --channel=main
Using Anaconda API: https://api.anaconda.org
Traceback (most recent call last):
  File "./ci_support/upload_or_check_non_existence.py", line 124, in <module>
    main()
  File "./ci_support/upload_or_check_non_existence.py", line 106, in main
    on_channel = distribution_exists_on_channel(cli, meta, owner, channel)
  File "./ci_support/upload_or_check_non_existence.py", line 69, in distribution_exists_on_channel
    binstar_cli.show_channel(owner=owner, channel=channel)['files']]
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/binstar_client/mixins/channels.py", line 29, in show_channel
    self._check_response(res, [200])
  File "/Users/travis/miniconda3/lib/python3.5/site-packages/binstar_client/__init__.py", line 200, in _check_response
    raise ErrCls(msg, res.status_code)
binstar_client.errors.NotFound: ('Not Found: Nothing matches the given URI ([GET] https://api.anaconda.org/channels/conda-forge/main -> 404)', 404)

Shipping py3-requiring code to py2.7

Issue: New build includes some py3-only code, and is shipping to 2.7

conda create -n broken-nose -c conda-forge python=2.7 nose
conda activate broken-nose  # see what I did there? ๐Ÿ˜„ 
python -c "import nose" 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/__init__.py", line 1, in <module>
    from nose.core import collector, main, run, run_exit, runmodule
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/core.py", line 11, in <module>
    from nose.config import Config, all_config_files
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/config.py", line 6, in <module>
    import configparser
ImportError: No module named configparser

(also, that was odd, because I got a different one in my unit tests... so....)

conda install configparser
python -c "import nose"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/__init__.py", line 3, in <module>
    from nose.exc import SkipTest, DeprecatedTest
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/exc.py", line 8, in <module>
    from nose.plugins.skip import SkipTest
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/plugins/skip.py", line 9, in <module>
    from nose.plugins.errorclass import ErrorClass, ErrorClassPlugin
  File "/Users/dwhs/miniconda3/envs/broken-nose/lib/python2.7/site-packages/nose/plugins/errorclass.py", line 130
    class ErrorClassPlugin(Plugin, metaclass=MetaErrorClass):
                                            ^
SyntaxError: invalid syntax

(that's what I saw on Travis)


Environment (conda list):
$ conda list
# packages in environment at /Users/dwhs/miniconda3/envs/broken-nose:
#
# Name                    Version                   Build  Channel
backports                 1.0                        py_2    conda-forge
ca-certificates           2020.6.20            hecda079_0    conda-forge
certifi                   2019.11.28       py27h8c360ce_1    conda-forge
configparser              3.7.3            py27h8c360ce_2    conda-forge
libcxx                    10.0.1               h5f48129_0    conda-forge
libffi                    3.2.1             hb1e8313_1007    conda-forge
ncurses                   6.2                  hb1e8313_1    conda-forge
nose                      1.3.7           pyh9f0ad1d_1005    conda-forge
openssl                   1.1.1h               haf1e3a3_0    conda-forge
pip                       20.1.1             pyh9f0ad1d_0    conda-forge
python                    2.7.15          h8e446fc_1011_cpython    conda-forge
python_abi                2.7                     1_cp27m    conda-forge
readline                  8.0                  h0678c8f_2    conda-forge
setuptools                44.0.0                   py27_0    conda-forge
sqlite                    3.33.0               h960bd1c_1    conda-forge
tk                        8.6.10               hb0a8c7a_1    conda-forge
wheel                     0.35.1             pyh9f0ad1d_0    conda-forge
zlib                      1.2.11            h7795811_1009    conda-forge


Details about conda and system ( conda info ):
$ conda info
     active environment : broken-nose
    active env location : /Users/dwhs/miniconda3/envs/broken-nose
            shell level : 3
       user config file : /Users/dwhs/.condarc
 populated config files : /Users/dwhs/.condarc
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.7.3.final.0
       virtual packages : __osx=10.14.6
       base environment : /Users/dwhs/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/omnia/osx-64
                          https://conda.anaconda.org/omnia/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/dwhs/miniconda3/pkgs
                          /Users/dwhs/.conda/pkgs
       envs directories : /Users/dwhs/miniconda3/envs
                          /Users/dwhs/.conda/envs
               platform : osx-64
             user-agent : conda/4.8.3 requests/2.22.0 CPython/3.7.3 Darwin/18.7.0 OSX/10.14.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False

(but issue occurred on fresh miniconda on travis)

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.