Files
pipenv/tests/pypi
Jeremy Fleischman 0567c10d68 When formatting a requirement, only lowercase its name.
This fixes https://github.com/pypa/pipenv/issues/2113.

This bug was introduced in
<https://github.com/jazzband/pip-tools/pull/452> as a band-aid fix to
<https://github.com/jazzband/pip-tools/issues/431>. Pipenv then copied
that code in <https://github.com/pypa/pipenv/commit/2553ebcbf7e2574c997a9164234e0adf077ffcac#diff-b56b95ccea8595a0f6f24ea753842976>, and inherited this latent bug.

Maybe the right fix is for pypa/packaging to lowercase the name? There's
a comment here
<https://github.com/pypa/packaging/blob/16.8/packaging/requirements.py#L86>
about normalizing the requirement's name, which might be what this is
referring to.

To test this, I invented a new, very simple python package called
`depends-on-marked-package`. The setup.py for this package is just:

```python
import setuptools

setuptools.setup(
    name="depends-on-marked-package",
    version="0.0.1",
    packages=setuptools.find_packages(),
    install_requires=['pytz; platform_python_implementation=="CPython"'],
)
```

This is a simplified version of gevent's setup.py's install_requires upon greenlet.
2018-05-22 23:08:20 -07:00
..
2018-03-04 11:39:15 -05:00
2018-03-06 08:50:04 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 12:49:50 -05:00
2018-04-06 23:25:15 -04:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:59:31 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 12:09:06 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 12:49:50 -05:00
2018-03-06 08:50:04 -05:00
2018-03-06 08:50:04 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 12:49:50 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 12:49:50 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-04-06 23:24:18 -04:00
2018-03-30 18:15:44 -04:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 13:16:13 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 12:14:27 -05:00
2018-03-04 11:39:15 -05:00
2018-04-06 23:25:15 -04:00
2018-04-06 23:25:15 -04:00
2018-04-06 23:25:15 -04:00
2018-04-19 20:11:39 -04:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-30 22:35:48 +08:00
2018-03-30 17:54:52 -04:00
2018-03-04 13:00:54 -05:00
2018-03-06 08:50:04 -05:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00
2018-03-30 18:15:44 -04:00
2018-03-04 12:49:50 -05:00
2018-04-19 21:10:31 -04:00
2018-03-30 18:15:44 -04:00
2018-03-04 11:39:15 -05:00
2018-03-04 11:39:15 -05:00