Skip to content

Does not work with PyTest #65

@ghost

Description

See this ticket in PyTest bug tracker: pytest-dev/pytest#4882 .

I don't know how you built the distributable package, but it looks like this:

Metadata-Version: 2.0
Name: openapi-spec-validator
Version: 0.2.6
Summary: UNKNOWN
Home-page: https://github.com/p1c2u/openapi-spec-validator
Author: Artur Maciag
Author-email: maciag.artur@gmail.com
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: jsonschema (<3)
Requires-Dist: PyYAML (>=3.13)
Requires-Dist: six
Requires-Dist: pathlib

# OpenAPI Spec validator
...

So, it installs pathlib regardless of what version of Python is used (interestingly, it works differently with different versions of Python / setuptools), but Python 7.1 setuptools 40.6.2 don't work with your library (downloaded from pypi).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions