Shopify / pyoozie

Library for querying and scheduling with Apache Oozie
https://py-oozie.readthedocs.io
MIT License
11 stars 12 forks source link

Change how we specify environment markers #53

Closed cfournie closed 7 years ago

cfournie commented 7 years ago

The latest version of setuptools (36.2.0) introduced https://github.com/pypa/setuptools/pull/1085, which disallows the manner in which we were specifying environment markers, which broke a variety of env marker usages https://github.com/pypa/setuptools/issues/1087.

This PR properly specifies env markers.

benoit-pierre commented 7 years ago

You don't need to name it differently, this would work:

    extras_require={
        'test': ['flake8'],
        'test:python_version >= "3.4"': ['mypy'],
    },

installing both flake8 and mypy when using Python 3.