Closed chinyeungli closed 3 years ago
@pombredanne do we want to support python27? Note that the code contains str
which doesn't work with python27 and, I believe, that's the reason why many tests are failing.
@pombredanne do we want to support python27? Note that the code contains
str
which doesn't work with python27 and, I believe, that's the reason why many tests are failing.
@chinyeungli time to drop Python 2 support alright! Just make sure this is advertized as a major version and documented in your changelog
@pombredanne ping, since it's required in https://github.com/nexB/scancode.io/issues/103#issuecomment-815665295 section 3-> Incorrect license simplification.
do we want to support python27? Note that the code contains
str
which doesn't work with python27 and, I believe, that's the reason why many tests are failing.
Nope, we want to drop it alright
All tests are passing on Appveyor and Travis. Azure is clogged so we will ignore it.
Instead of using the simplify() from boolean.py (as it over simplifies the expression and the order cannot be kept), implement a new function Licensing.dedup(expression) to de-duplicate the license_expression and keep the order of the license key.
Signed-off-by: Chin Yeung Li tli@nexb.com