Kensuke-Mitsuzawa/sumo-output-parsers

pypi tries to download

Kensuke-Mitsuzawa opened this issue · 3 comments

background

I hope that Pypi does not download Cartopy since it has dependencies in the binary compiled level.

What I did

Shapely and Cartopy are in the extra section of pyproject.toml.

Log

$ pip install sumo-output-parsers -U
Collecting sumo-output-parsers
  Downloading sumo_output_parsers-0.52-py3-none-any.whl (21 kB)
Collecting Cartopy<0.19.0,>=0.18.0
  Downloading Cartopy-0.18.0.tar.gz (14.4 MB)
     |████████████████████████████████| 14.4 MB 4.0 MB/s 

investigations

When I type pip install sumo-output-parsers[full] ,

...
Successfully built SumoNetVis moviepy datashape
...

SumoNetVis moviepy datashape are surely in extras section.

From these facts, I can say that extras system works correctly.

Pypi downloads Cartopy because an unknown package has the dependency to Cartopy.

Cartopy has a dependency to Sharply.

[[package]]
name = "cartopy"
version = "0.18.0"
description = "A cartographic python library with Matplotlib support for visualisation"
category = "main"
optional = true
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"

[package.dependencies]
numpy = ">=1.10"
pyshp = ">=1.1.4"
shapely = ">=1.5.6"
six = ">=1.3.0"

Here are packages that have the dependency to cartopy.

  • geoviews

The reason is in lessesumo_outputparsers-0.52-py3-none-any.whl.

Metadata-Version: 2.1
Name: sumo-output-parsers
Version: 0.52
Summary: Fast and lightweight file parsers for SUMO(traffic simulator) output
License: MIT
Author: Kensuke Mitsuzawa
Author-email: kensuke.mit@gmail.com
Maintainer: Kensuke Mitsuzawa
Maintainer-email: kensuke.mit@gmail.com
Requires-Python: >=3.7,<3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Provides-Extra: full
Requires-Dist: Cartopy (>=0.18.0,<0.19.0)  <- INCORECT!