Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different outputs on windows and linux executions #3

Closed
whisust opened this issue Oct 26, 2017 · 0 comments
Closed

Different outputs on windows and linux executions #3

whisust opened this issue Oct 26, 2017 · 0 comments

Comments

@whisust
Copy link
Contributor

whisust commented Oct 26, 2017

Using this requirements.txt

Flask>=0.12.1
flask_restful
jsonify
psycopg2>=2.7.1
nose
scipy
scikit-learn
pandas
numpy
argparse
uuid
sqlbuilder
proboscis

and this license_strategy.ini

# Authorized and unauthorized licenses in lower case
[Licenses]
authorized_licenses:
        BSD
        new BSD
        BSD license
        new BDS license
        simplified BSD
        Apache
        Apache 2.0
        Apache software license
        gnu LGPL
        LGPL with exceptions or zpl
        ISC license
        ISC license (ISCL)
        MIT
        MIT license
        python software foundation license
        zpl 2.1

unauthorized_licenses:
        GPL v3
        GPL
        GNU General Public License v2 or later (GPLv2+)


[Authorized Packages]
# Python software license (see http://zesty.ca/python/uuid.README.txt)
uuid: 1.30

I have two different output results when executedon windows and bash.
On Bash (Ubuntu), exit code = 0 (expected):

gathering licenses...
22 packages and dependencies.

check forbidden packages based on licenses...
none


check authorized packages based on licenses...
18 packages.

check authorized packages...
4 packages.

check unknown licenses...
none

On Windows, exit code = -1 (unexpected):

gathering licenses...
22 packages and dependencies.

check forbidden packages based on licenses...
none


check authorized packages based on licenses...
10 packages.

check authorized packages...
3 packages.

check unknown licenses...
9 unknown packages :

 ['BSD License\r'] NKNOWN

      dependencies:

          click << Flask << Flask-RESTful

 ['BSD License\r'] : BSD

      dependencies:

          Jinja2 << Flask << Flask-RESTful

 ['BSD License\r'] 3) : BSD

      dependencies:

          MarkupSafe << Jinja2 << Flask << Flask-RESTful

 ['GNU Library or Lesser General Public License (LGPL)\r']

      dependencies:

          nose

 [] numpy (1.11.3) : BSD

      dependencies:

          numpy << pandas

 [] pandas (0.19.2) : BSD

      dependencies:

          pandas

 ['BSD License\r']  (2.6.0) : Simplified BSD

      dependencies:

          python-dateutil << aniso8601 << Flask-RESTful

          python-dateutil << pandas

 ['BSD License\r'] : BSD

      dependencies:

          scipy

 ['BSD License\r'] 15) : BSD

      dependencies:

          Werkzeug << Flask << Flask-RESTful
@ochedru ochedru closed this as completed in a32401e Apr 7, 2018
ochedru pushed a commit that referenced this issue Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant