Commit Graph

33 Commits

Author SHA1 Message Date
Matt Davis 30e0fa7309 reference markdown format 2023-09-07 10:48:40 -04:00
Matt Davis cd5a9683be Rename notpip to pip. Vendor in pip-22.2.1 and latest requirementslib and vistir. 2022-07-28 11:58:10 +02:00
Oz N Tiram a912f17dd8 Fix MANIFEST.in (#5051)
When building a source distribution for pipenv, many warning are omitted
since the MANIFEST.in was long time neglected and includes much stuff
which is no longer in the repository or wasn't even there.
2022-04-17 00:43:31 +02:00
Matt Davis 21ccd11bdf Remove vendored pipreqs
Also remove dependencies:

     yarg
     docopt
2022-03-22 09:41:03 +01:00
Oz N Tiram 9e28ef5082 Remove leftover include of jinja2 files
This was probably due to pipenv relying on Jinja2 in the
past.
However, Jinja2 was removed in 11229406ba
2022-01-12 13:51:16 +01:00
Jeremy Fleischman f42fcaa2b8 Misc doc updates (mostly around running tests)
This adds and documents a workaround for
https://github.com/pypa/pipenv/issues/4909. It feels a bit weird to
pretend to be CI just to run the test suite, though. Maybe we can do
something about that later.

I ran into a lot of trouble trying to get the tests to run when working
on https://github.com/pypa/pipenv/pull/4908, and that was largely
because the instructions in this CONTRIBUTING.md file seem to have
rotted.

1. The bit about "can be run very simply" is bogus. It's
   unfortunately not that simple right now.

2. `make test` (the docker approach) fails for me with this error:

    ```bash
    $ make test
    docker-compose up
    [+] Running 1/0
     ⠿ Container pipenv-pipenv-tests-1  Recreated                                                                  0.1s
    Attaching to pipenv-pipenv-tests-1
    pipenv-pipenv-tests-1  | Collecting certifi
    pipenv-pipenv-tests-1  |   Downloading https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149kB)
    pipenv-pipenv-tests-1  | Installing collected packages: certifi
    pipenv-pipenv-tests-1  | Successfully installed certifi-2021.10.8
    pipenv-pipenv-tests-1  | Path: /root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    pipenv-pipenv-tests-1  | Installing Pipenv...
    pipenv-pipenv-tests-1  | Obtaining file:///pipenv
    pipenv-pipenv-tests-1  |     Complete output from command python setup.py egg_info:
    pipenv-pipenv-tests-1  |     Traceback (most recent call last):
    pipenv-pipenv-tests-1  |       File "<string>", line 1, in <module>
    pipenv-pipenv-tests-1  |       File "/pipenv/setup.py", line 55
    pipenv-pipenv-tests-1  |         print(f"\033[1m{s}\033[0m")
    pipenv-pipenv-tests-1  |                                  ^
    pipenv-pipenv-tests-1  |     SyntaxError: invalid syntax
    pipenv-pipenv-tests-1  |
    pipenv-pipenv-tests-1  |     ----------------------------------------
    pipenv-pipenv-tests-1  | Command "python setup.py egg_info" failed with error code 1 in /pipenv/
    pipenv-pipenv-tests-1 exited with code 1
    ```

    The docker image it relies upon
    (https://hub.docker.com/r/kennethreitz/pipenv-tests) hasn't been
    updated in 4 years, so I assume it's just not something people use
    anymore?

3. Relatedly, there was a `Dockerfile` at the root of this repo that
   appears to be unused. Let me know if it's used somewhere I'm not
   realizing, I can add it back!

4. https://kennethreitz.org/essays/be-cordial-or-be-on-your-way seems to
   be a broken link now. I found
   https://kennethreitz.org/essays/2013/01/27/be-cordial-or-be-on-your-way
   on Google.

5. `./run-tests.sh` doesn't work for me. It's failing for the same
   reason described by @ncoghlan here:
   https://github.com/pypa/pip/issues/7953#issuecomment-611928262. He
   said something about a `PIPENV_BOOTSTRAP` environment variable, but I
   can't find any information about that.
2022-01-07 00:01:33 -08:00
Hugo 7f93237d0f The PyPA has adopted the PSF code of conduct
For details, see:

* https://discuss.python.org/t/implementing-pep-609-pypa-governance/4745
2020-07-29 22:19:13 +03:00
Dan Ryan 76eee5fff7 Update makefile rules and manifest
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 23:13:40 -04:00
Dan Ryan c18d9bd8d9 Update manifest
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 22:16:02 -04:00
Dan Ryan 8bb57c3a9e Update manifest
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-24 02:13:30 -04:00
Dan Ryan de22ff69db Exclude gitmodules
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-19 09:19:46 -05:00
Dan Ryan 200775e05c Add manifest
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-19 01:15:06 -05:00
David Staheli d773429d07 Update MANIFEST.in to prune .azure-pipelines 2018-11-05 11:36:53 -05:00
Dan Ryan c3303d5c83 Fix manifest
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:42:57 -04:00
Dan Ryan 3d33e5a257 Update requirementslib and fix VCS installation
Signed-off-by: Dan Ryan <dan@danryan.co>

Don't re-clone repos now that this works

Signed-off-by: Dan Ryan <dan@danryan.co>

Prune peeps directory from manifest

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix nonetype uris

Signed-off-by: Dan Ryan <dan@danryan.co>

Manually lock requirements?

Signed-off-by: Dan Ryan <dan@danryan.co>

Update requirementslib - leave context before updating sha

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix requirementslib vcs checkouts

Signed-off-by: Dan Ryan <dan@danryan.co>

fix tmpdir implementation

Signed-off-by: Dan Ryan <dan@danryan.co>

final fix for vcs uris

Signed-off-by: Dan Ryan <dan@danryan.co>

Allow for adding requirements objects directly to pipfile

Signed-off-by: Dan Ryan <dan@danryan.co>

Update piptools patch

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan a6fb4a7945 Update tests
Signed-off-by: Dan Ryan <dan@danryan.co>

Fix windows testing

Signed-off-by: Dan Ryan <dan@danryan.co>

Update runner

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix powershell script

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix git ssl issues

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix test name

Signed-off-by: Dan Ryan <dan@danryan.co>

Update test publication

Signed-off-by: Dan Ryan <dan@danryan.co>

Only run py36 py37 and py27 for testing

Signed-off-by: Dan Ryan <dan@danryan.co>

Enable linux builds

Signed-off-by: Dan Ryan <dan@danryan.co>

triple parallel

Signed-off-by: Dan Ryan <dan@danryan.co>

Update linux tests

Signed-off-by: Dan Ryan <dan@danryan.co>

Make sure home directory exists

Signed-off-by: Dan Ryan <dan@danryan.co>

Use pipenv to run tests

Signed-off-by: Dan Ryan <dan@danryan.co>

add vendoring script to linux build scripts

Signed-off-by: Dan Ryan <dan@danryan.co>

fix vendoring test

Signed-off-by: Dan Ryan <dan@danryan.co>

Lets try it this way

Signed-off-by: Dan Ryan <dan@danryan.co>

Syntax issue

Signed-off-by: Dan Ryan <dan@danryan.co>

Prune vsts-ci folder from manifest

Signed-off-by: Dan Ryan <dan@danryan.co>

Separate manifest step from vendoring

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vsts vendoring script

Signed-off-by: Dan Ryan <dan@danryan.co>

Syntax error..

Signed-off-by: Dan Ryan <dan@danryan.co>

fix vendoring

Signed-off-by: Dan Ryan <dan@danryan.co>

gah wrong version spec!

Signed-off-by: Dan Ryan <dan@danryan.co>

fix vsts

Signed-off-by: Dan Ryan <dan@danryan.co>

test updates

Signed-off-by: Dan Ryan <dan@danryan.co>

VSTS Syntax error...

Signed-off-by: Dan Ryan <dan@danryan.co>

and fix windows runner

Signed-off-by: Dan Ryan <dan@danryan.co>

maybe...

Signed-off-by: Dan Ryan <dan@danryan.co>

does this one work?

Signed-off-by: Dan Ryan <dan@danryan.co>

how about now

Signed-off-by: Dan Ryan <dan@danryan.co>

fix manifest

Signed-off-by: Dan Ryan <dan@danryan.co>

hmm now windows fails?

Signed-off-by: Dan Ryan <dan@danryan.co>

hmmmm...

Signed-off-by: Dan Ryan <dan@danryan.co>

Conditonal testing uses its own special phase

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-28 20:44:37 -04:00
Dan Ryan 0d0171a1fa Update manifest
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-28 12:12:51 -04:00
kennethreitz 779d247b99 markdown 2018-07-03 10:25:42 -04:00
Dan Ryan a245be1819 Use more local tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 14:16:48 -04:00
Drum a27f48a39f Explicit vendored click_completion *.j2 entry in MANIFEST.in
This seems to be needed to make sure they are included in distributions.
2018-06-29 21:25:51 +01:00
Dan Ryan 4044ba5ae9 Update manifest
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 20:38:12 -04:00
Dan Ryan b16628f13b Update history, bump version(dev)
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-22 09:48:36 -04:00
Miro Hrončok 02e67a324f Include LICENSE files in sdist 2018-04-12 20:47:04 +02:00
Tzu-ping Chung 794786bced Add requests's pem file to distribution
Maybe fix #1800?
2018-03-22 14:16:22 +08:00
kennethreitz 01d75c5744 fixes #854 2018-03-13 07:51:04 -04:00
NighTurs f449740839 Add cacert.pem from requests to releases. Fixes #871 2017-10-15 16:40:17 +03:00
Kris 5c85bae3f4 Map package names before checking proper case 2017-10-03 12:48:51 -04:00
kennethreitz 848ceb30ba manfile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-24 19:44:51 -04:00
Pierpaolo Da Fieno d80660bdf4 Fixed stdlib file not found error 2017-09-24 13:09:28 +02:00
kennethreitz f8200af332 update safety to remove yaml
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-23 11:09:34 -04:00
kennethreitz 6ac67d9b8d add to manifest file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-09-19 14:55:57 -04:00
Nate Prewitt 35518da072 add cacert.pem from requests to releases 2017-06-21 15:30:47 -06:00
Nate Prewitt 3b2fb4c8dc adding MANIFEST.in 2017-04-20 09:23:00 -06:00