Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'DeprecationWarning' is triggered due to the use of deprecated 'pkg_resources' form setuptools #6097

Closed
JMSoler7 opened this issue Feb 19, 2024 · 1 comment · Fixed by #6139
Labels

Comments

@JMSoler7
Copy link

Issue description

Pipenv is using pkg_resources as an API, which is deprecated (see https://setuptools.pypa.io/en/latest/pkg_resources.html).

In setuptools documentations there is an explanation of how to manage resources thorugh importlib:

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

Expected result

DeprecationWarning does not appear any more.

Actual result

A warning raises when using the most of pipenv instructions

/usr/local/lib/python3.11/site-packages/pipenv/environment.py:21: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pipenv.patched.pip._vendor import pkg_resources

Steps to replicate

A simple way to replicate is just to call the help command from pipenv:

pipenv --help

$ pipenv --support

Pipenv version: '2023.11.17'

Pipenv location: '/usr/local/lib/python3.11/site-packages/pipenv'

Python location: '/usr/local/bin/python'

OS Name: 'posix'

User pip version: '23.3.2'

user Python installations found:

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.11.7',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.15.0-94-generic',
 'platform_system': 'Linux',
 'platform_version': '#104~20.04.1-Ubuntu SMP Tue Jan 16 13:34:09 UTC 2024',
 'python_full_version': '3.11.7',
 'python_version': '3.11',
 'sys_platform': 'linux'}

System environment variables:

  • PYTHONDEVMODE
  • PIPENV_VENV_IN_PROJECT
  • HOSTNAME
  • PYTHON_VERSION
  • DJANGO_EMAIL_HOST
  • DJANGO_SECRET_KEY
  • PWD
  • DB_ENGINE
  • DJANGO_EMAIL_PORT
  • PYTHON_SETUPTOOLS_VERSION
  • DB_PORT
  • DB_USER
  • HOME
  • LANG
  • GPG_KEY
  • DJANGO_ALLOWED_HOSTS
  • DJANGO_EMAIL_HOST_PASSWORD
  • DJANGO_SETTINGS_MODULE
  • DJANGO_SUPERUSER_PASSWORD
  • DJANGO_MEDIA_ROOT
  • DJANGO_SUPERUSER_EMAIL
  • PYTHONPATH
  • TERM
  • DB_HOST
  • DB_PASSWD
  • DJANGO_DEBUG
  • SHLVL
  • DJANGO_SUPERUSER_USERNAME
  • DJANGO_EMAIL_HOST_USER
  • PYTHON_PIP_VERSION
  • DB_NAME
  • PYTHON_GET_PIP_SHA256
  • PYTHONBREAKPOINT
  • PYTHON_GET_PIP_URL
  • PATH
  • DJANGO_STATIC_ROOT
  • PIPENV_SHELL
  • _
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

  • PIPENV_VENV_IN_PROJECT: 1
  • PIPENV_SHELL: bash

Debug–specific environment variables:

  • PATH: /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • LANG: C.UTF-8
  • PWD: /app

Contents of Pipfile ('/app/Pipfile'):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
django = "*"
django-jazzmin = "*"
colorlog = "*"
psycopg2-binary = "*"
django-debug-toolbar = "*"
whitenoise = "*"
djangorestframework = "*"

[dev-packages]
pudb = "*"
factory-boy = "*"

[requires]
python_version = "3.11"

Contents of Pipfile.lock ('/app/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "1c7a7c828af0057268b8f0479d378ef3e7a9e8242325606c4f6afc6dd7ac0c6a"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.11"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "asgiref": {
            "hashes": [
                "sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e",
                "sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==3.7.2"
        },
        "colorlog": {
            "hashes": [
                "sha256:3e3e079a41feb5a1b64f978b5ea4f46040a94f11f0e8bbb8261e3dbbeca64d44",
                "sha256:4dcbb62368e2800cb3c5abd348da7e53f6c362dda502ec27c560b2e58a66bd33"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.6'",
            "version": "==6.8.2"
        },
        "django": {
            "hashes": [
                "sha256:8c8659665bc6e3a44fefe1ab0a291e5a3fb3979f9a8230be29de975e57e8f854",
                "sha256:f47a37a90b9bbe2c8ec360235192c7fddfdc832206fcf618bb849b39256affc1"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.10'",
            "version": "==5.0.1"
        },
        "django-debug-toolbar": {
            "hashes": [
                "sha256:af99128c06e8e794479e65ab62cc6c7d1e74e1c19beb44dcbf9bad7a9c017327",
                "sha256:bc7fdaafafcdedefcc67a4a5ad9dac96efd6e41db15bc74d402a54a2ba4854dc"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.8'",
            "version": "==4.2.0"
        },
        "django-jazzmin": {
            "hashes": [
                "sha256:5bb07055cf19183030724f976904fd8b6337559727959340a43832fab0531812",
                "sha256:fb554c2d564649c65243b13385121fdbdda58521f49544f9d7cb9c414a4908d4"
            ],
            "index": "pypi",
            "markers": "python_full_version >= '3.6.2'",
            "version": "==2.6.0"
        },
        "djangorestframework": {
            "hashes": [
                "sha256:579a333e6256b09489cbe0a067e66abe55c6595d8926be6b99423786334350c8",
                "sha256:eb63f58c9f218e1a7d064d17a70751f528ed4e1d35547fdade9aaf4cd103fd08"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.6'",
            "version": "==3.14.0"
        },
        "psycopg2-binary": {
            "hashes": [
                "sha256:03ef7df18daf2c4c07e2695e8cfd5ee7f748a1d54d802330985a78d2a5a6dca9",
                "sha256:0a602ea5aff39bb9fac6308e9c9d82b9a35c2bf288e184a816002c9fae930b77",
                "sha256:0c009475ee389757e6e34611d75f6e4f05f0cf5ebb76c6037508318e1a1e0d7e",
                "sha256:0ef4854e82c09e84cc63084a9e4ccd6d9b154f1dbdd283efb92ecd0b5e2b8c84",
                "sha256:1236ed0952fbd919c100bc839eaa4a39ebc397ed1c08a97fc45fee2a595aa1b3",
                "sha256:143072318f793f53819048fdfe30c321890af0c3ec7cb1dfc9cc87aa88241de2",
                "sha256:15208be1c50b99203fe88d15695f22a5bed95ab3f84354c494bcb1d08557df67",
                "sha256:1873aade94b74715be2246321c8650cabf5a0d098a95bab81145ffffa4c13876",
                "sha256:18d0ef97766055fec15b5de2c06dd8e7654705ce3e5e5eed3b6651a1d2a9a152",
                "sha256:1ea665f8ce695bcc37a90ee52de7a7980be5161375d42a0b6c6abedbf0d81f0f",
                "sha256:2293b001e319ab0d869d660a704942c9e2cce19745262a8aba2115ef41a0a42a",
                "sha256:246b123cc54bb5361588acc54218c8c9fb73068bf227a4a531d8ed56fa3ca7d6",
                "sha256:275ff571376626195ab95a746e6a04c7df8ea34638b99fc11160de91f2fef503",
                "sha256:281309265596e388ef483250db3640e5f414168c5a67e9c665cafce9492eda2f",
                "sha256:2d423c8d8a3c82d08fe8af900ad5b613ce3632a1249fd6a223941d0735fce493",
                "sha256:2e5afae772c00980525f6d6ecf7cbca55676296b580c0e6abb407f15f3706996",
                "sha256:30dcc86377618a4c8f3b72418df92e77be4254d8f89f14b8e8f57d6d43603c0f",
                "sha256:31a34c508c003a4347d389a9e6fcc2307cc2150eb516462a7a17512130de109e",
                "sha256:323ba25b92454adb36fa425dc5cf6f8f19f78948cbad2e7bc6cdf7b0d7982e59",
                "sha256:34eccd14566f8fe14b2b95bb13b11572f7c7d5c36da61caf414d23b91fcc5d94",
                "sha256:3a58c98a7e9c021f357348867f537017057c2ed7f77337fd914d0bedb35dace7",
                "sha256:3f78fd71c4f43a13d342be74ebbc0666fe1f555b8837eb113cb7416856c79682",
                "sha256:4154ad09dac630a0f13f37b583eae260c6aa885d67dfbccb5b02c33f31a6d420",
                "sha256:420f9bbf47a02616e8554e825208cb947969451978dceb77f95ad09c37791dae",
                "sha256:4686818798f9194d03c9129a4d9a702d9e113a89cb03bffe08c6cf799e053291",
                "sha256:57fede879f08d23c85140a360c6a77709113efd1c993923c59fde17aa27599fe",
                "sha256:60989127da422b74a04345096c10d416c2b41bd7bf2a380eb541059e4e999980",
                "sha256:64cf30263844fa208851ebb13b0732ce674d8ec6a0c86a4e160495d299ba3c93",
                "sha256:68fc1f1ba168724771e38bee37d940d2865cb0f562380a1fb1ffb428b75cb692",
                "sha256:6e6f98446430fdf41bd36d4faa6cb409f5140c1c2cf58ce0bbdaf16af7d3f119",
                "sha256:729177eaf0aefca0994ce4cffe96ad3c75e377c7b6f4efa59ebf003b6d398716",
                "sha256:72dffbd8b4194858d0941062a9766f8297e8868e1dd07a7b36212aaa90f49472",
                "sha256:75723c3c0fbbf34350b46a3199eb50638ab22a0228f93fb472ef4d9becc2382b",
                "sha256:77853062a2c45be16fd6b8d6de2a99278ee1d985a7bd8b103e97e41c034006d2",
                "sha256:78151aa3ec21dccd5cdef6c74c3e73386dcdfaf19bced944169697d7ac7482fc",
                "sha256:7f01846810177d829c7692f1f5ada8096762d9172af1b1a28d4ab5b77c923c1c",
                "sha256:804d99b24ad523a1fe18cc707bf741670332f7c7412e9d49cb5eab67e886b9b5",
                "sha256:81ff62668af011f9a48787564ab7eded4e9fb17a4a6a74af5ffa6a457400d2ab",
                "sha256:8359bf4791968c5a78c56103702000105501adb557f3cf772b2c207284273984",
                "sha256:83791a65b51ad6ee6cf0845634859d69a038ea9b03d7b26e703f94c7e93dbcf9",
                "sha256:8532fd6e6e2dc57bcb3bc90b079c60de896d2128c5d9d6f24a63875a95a088cf",
                "sha256:876801744b0dee379e4e3c38b76fc89f88834bb15bf92ee07d94acd06ec890a0",
                "sha256:8dbf6d1bc73f1d04ec1734bae3b4fb0ee3cb2a493d35ede9badbeb901fb40f6f",
                "sha256:8f8544b092a29a6ddd72f3556a9fcf249ec412e10ad28be6a0c0d948924f2212",
                "sha256:911dda9c487075abd54e644ccdf5e5c16773470a6a5d3826fda76699410066fb",
                "sha256:977646e05232579d2e7b9c59e21dbe5261f403a88417f6a6512e70d3f8a046be",
                "sha256:9dba73be7305b399924709b91682299794887cbbd88e38226ed9f6712eabee90",
                "sha256:a148c5d507bb9b4f2030a2025c545fccb0e1ef317393eaba42e7eabd28eb6041",
                "sha256:a6cdcc3ede532f4a4b96000b6362099591ab4a3e913d70bcbac2b56c872446f7",
                "sha256:ac05fb791acf5e1a3e39402641827780fe44d27e72567a000412c648a85ba860",
                "sha256:b0605eaed3eb239e87df0d5e3c6489daae3f7388d455d0c0b4df899519c6a38d",
                "sha256:b58b4710c7f4161b5e9dcbe73bb7c62d65670a87df7bcce9e1faaad43e715245",
                "sha256:b6356793b84728d9d50ead16ab43c187673831e9d4019013f1402c41b1db9b27",
                "sha256:b76bedd166805480ab069612119ea636f5ab8f8771e640ae103e05a4aae3e417",
                "sha256:bc7bb56d04601d443f24094e9e31ae6deec9ccb23581f75343feebaf30423359",
                "sha256:c2470da5418b76232f02a2fcd2229537bb2d5a7096674ce61859c3229f2eb202",
                "sha256:c332c8d69fb64979ebf76613c66b985414927a40f8defa16cf1bc028b7b0a7b0",
                "sha256:c6af2a6d4b7ee9615cbb162b0738f6e1fd1f5c3eda7e5da17861eacf4c717ea7",
                "sha256:c77e3d1862452565875eb31bdb45ac62502feabbd53429fdc39a1cc341d681ba",
                "sha256:ca08decd2697fdea0aea364b370b1249d47336aec935f87b8bbfd7da5b2ee9c1",
                "sha256:ca49a8119c6cbd77375ae303b0cfd8c11f011abbbd64601167ecca18a87e7cdd",
                "sha256:cb16c65dcb648d0a43a2521f2f0a2300f40639f6f8c1ecbc662141e4e3e1ee07",
                "sha256:d2997c458c690ec2bc6b0b7ecbafd02b029b7b4283078d3b32a852a7ce3ddd98",
                "sha256:d3f82c171b4ccd83bbaf35aa05e44e690113bd4f3b7b6cc54d2219b132f3ae55",
                "sha256:dc4926288b2a3e9fd7b50dc6a1909a13bbdadfc67d93f3374d984e56f885579d",
                "sha256:ead20f7913a9c1e894aebe47cccf9dc834e1618b7aa96155d2091a626e59c972",
                "sha256:ebdc36bea43063116f0486869652cb2ed7032dbc59fbcb4445c4862b5c1ecf7f",
                "sha256:ed1184ab8f113e8d660ce49a56390ca181f2981066acc27cf637d5c1e10ce46e",
                "sha256:ee825e70b1a209475622f7f7b776785bd68f34af6e7a46e2e42f27b659b5bc26",
                "sha256:f7ae5d65ccfbebdfa761585228eb4d0df3a8b15cfb53bd953e713e09fbb12957",
                "sha256:f7fc5a5acafb7d6ccca13bfa8c90f8c51f13d8fb87d95656d3950f0158d3ce53",
                "sha256:f9b5571d33660d5009a8b3c25dc1db560206e2d2f89d3df1cb32d72c0d117d52"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.7'",
            "version": "==2.9.9"
        },
        "pytz": {
            "hashes": [
                "sha256:31d4583c4ed539cd037956140d695e42c033a19e984bfce9964a3f7d59bc2b40",
                "sha256:f90ef520d95e7c46951105338d918664ebfd6f1d995bd7d153127ce90efafa6a"
            ],
            "version": "==2023.4"
        },
        "sqlparse": {
            "hashes": [
                "sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3",
                "sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==0.4.4"
        },
        "whitenoise": {
            "hashes": [
                "sha256:8998f7370973447fac1e8ef6e8ded2c5209a7b1f67c1012866dbcd09681c3251",
                "sha256:b1f9db9bf67dc183484d760b99f4080185633136a273a03f6436034a41064146"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.8'",
            "version": "==6.6.0"
        }
    },
    "develop": {
        "factory-boy": {
            "hashes": [
                "sha256:a2cdbdb63228177aa4f1c52f4b6d83fab2b8623bf602c7dedd7eb83c0f69c04c",
                "sha256:bc76d97d1a65bbd9842a6d722882098eb549ec8ee1081f9fb2e8ff29f0c300f1"
            ],
            "index": "pypi",
            "markers": "python_version >= '3.7'",
            "version": "==3.3.0"
        },
        "faker": {
            "hashes": [
                "sha256:2b57f0256da6b45b7851dca87836ef5e2ae2fbb64d63d8697f1e47830d7b505d",
                "sha256:fa6d969728ef3da6229da91267a1bd4e6b902044c4822012d4fc46c71bb92b26"
            ],
            "markers": "python_version >= '3.8'",
            "version": "==22.6.0"
        },
        "jedi": {
            "hashes": [
                "sha256:cf0496f3651bc65d7174ac1b7d043eff454892c708a87d1b683e57b569927ffd",
                "sha256:e983c654fe5c02867aef4cdfce5a2fbb4a50adc0af145f70504238f18ef5e7e0"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.19.1"
        },
        "packaging": {
            "hashes": [
                "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5",
                "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==23.2"
        },
        "parso": {
            "hashes": [
                "sha256:8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0",
                "sha256:c001d4636cd3aecdaf33cbb40aebb59b094be2a74c556778ef5576c175e19e75"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.8.3"
        },
        "pudb": {
            "hashes": [
                "sha256:fc9d6a976a59b590764c8379ec200fecd47faa84259b64efd8cd86066a0af338"
            ],
            "index": "pypi",
            "markers": "python_version ~= '3.8'",
            "version": "==2024.1"
        },
        "pygments": {
            "hashes": [
                "sha256:b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c",
                "sha256:da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==2.17.2"
        },
        "python-dateutil": {
            "hashes": [
                "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
                "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
            "version": "==2.8.2"
        },
        "six": {
            "hashes": [
                "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
                "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
            "version": "==1.16.0"
        },
        "typing-extensions": {
            "hashes": [
                "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783",
                "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"
            ],
            "markers": "python_version >= '3.8'",
            "version": "==4.9.0"
        },
        "urwid": {
            "hashes": [
                "sha256:001005722bece377f408c42e5dd21b0aade2d7ba4fcaa694f26728840b62634f",
                "sha256:24b5cc41d0a66e1f7a2776f0ca3dea3fb844a3d5f5fda3bedc98eb9baf9fe47d",
                "sha256:2a7a561819bc8df0a7656d2133db5e016687c63d52481e1a81c15469f63d7da0",
                "sha256:2b18069ee01d116a2737863034334ff5e4d2e7c3bcdb1421465a3479838675ae",
                "sha256:2b5046cc3069064caf046453373422224159dd41eb57b90f8d01c914fd4b86d5",
                "sha256:2da5beb32685993a50a4e7675e16de6b595d65740bf32292cd21e3c2613731ac",
                "sha256:363b01b32d72868473d726f6072885005c1754653904a4c2a6a46e22034c1c79",
                "sha256:4130001260d6f151dddae1a312d62ba860e5913bebdebce8727c4768701cbd3e",
                "sha256:43cf0ea7f14b33392db0e2310c6c051d9ef8b898ee8e8dd869a3c5a474ffc3fc",
                "sha256:49624180084734e4668508d9174f7e78d77bb2b0d78bc9d81d3bb9b04a78e45a",
                "sha256:57e60e0e2b1b16b424f1df2e26fa8b1c990e365c1f53386ab549eb7530b752f3",
                "sha256:65996b5b19e3804c6dd695a7df04aaafbe00660ccd7b5b5987a385f303351e48",
                "sha256:68eef9ab83d35aa20279706b5b36758268e72f339a9d7cca1e77189bb21c074b",
                "sha256:6918865dd09247765627186750fb21c1fee2dbbbfd0ebf4f3feacf939baa2bba",
                "sha256:6cc2b5467f1bceb89e5bbe680f5bd5c23158a734c2ad22272209376696113e4e",
                "sha256:7603a596b91d4bf8423c87758de938e03e852ae4ff2f813dd5424eacb482aa32",
                "sha256:7624c94fc47234fe37b2208aac19662989c85f791327fbad08ba93ece68e2870",
                "sha256:76ad1b22233fc3ef0ae0aa82eeb33ba97ee1273cf4f7b22d8c5eaa8d02366e03",
                "sha256:7af43e5457e13e4b29be0c6e027066e147fe05a49f1c86b59f72662d8c849e09",
                "sha256:7afe82571a4cdebb49da0666818a25eb00b1ed5b556d5f9c3240785af8227477",
                "sha256:7b0ea46e5dc758fb7d9eda6d86db3d5a9096d68c9e27c7967e451609ed000301",
                "sha256:7d1685b41886e2ac0bdf16fe647dada4265f2a19ec9d415b83d10dc33acca8ae",
                "sha256:8823b0a16ecb9b6d872ed3999b09a1c0bda9edf0f680b4e151e1b345b28da110",
                "sha256:8aa4849193f27e81d7c19137da3d31043de154742df138d81a646fee7ff84f55",
                "sha256:8c95d982ece16e35302edaa5c83f8081346eb7e59d295185bf4283ca66ba809a",
                "sha256:8f737ddbfb83283e1f4f7f47551eb6b2290c8d761b0cb3eb302922efd94a965f",
                "sha256:9e34bbcd06d2bfcc8f33a926f53b419c63732bf4a678a8952f2f4fa60771665b",
                "sha256:a4a49ba635b5e606750f180d6b44b6b899deaa20e7b4e9b0ffede8024e21c30c",
                "sha256:a5e3d4ff62b2743c208a11f6729df378bd0cde4926ce15b0a441abe52b7f3b91",
                "sha256:a687cd6aa313a94c7aa191f6b2867348f6854f45b428cb0b10c6ea1ac8179a2f",
                "sha256:ae93e48301ce9e4b36f5687fb0e67d394624f295626a064a4950810ee5aae208",
                "sha256:bb62932c05213b21672363d6d768c1421039ee46ee268dd105ae2296fd27a934",
                "sha256:bf1949ab01eac54575c795de9ac461b71c2bacbc7e9309b23946a47cced828bd",
                "sha256:bfa929a1184c0d0e595c711d31d4c5c65dafd1efccb080f2b78e19858b9631e7",
                "sha256:c2c978ab30ab097c8d1ba2c16dab6923f5efc25026854597e59b2b2ee6f03b6a",
                "sha256:c9d61b33d9f8acd3154888d2cfebdbb3801dc0803e4e57c06aab46116f7424bb",
                "sha256:cbf11f031eb5f73e5044a6c2d38c51590715be733a34d61f48434700f83311a6",
                "sha256:cd6bfbd91ea3a3c6ef6fb354f9c036b59e367c410d136fdf3903c4d2d874f1af",
                "sha256:cefd95632e475d0c2156711e3b9c742d62d93234a016de8cf5578193cc675fd9",
                "sha256:cf380a5d797ec9eca2b8a84fa2a1b4510d720e01f7af9c6db3c74c6b64665303",
                "sha256:d3ae85efc1827432b4caa4ef6a5b3248688416ebc4f3988e9d7ecf0aa45e5841",
                "sha256:d96830f07b90a25e80f6042980894d6270bbf890c7ce3b623aded62deff59946",
                "sha256:da6124c6d8af0a502b679f22b736acc500cd760026f432b938c9e43b0bdba70e",
                "sha256:e97b7ea875a46c7360f4870913cd90a1ef7d666e31f61a5d131e947473957705",
                "sha256:ee3ce28c59934e59b604aa5fd309681386748a3f84337eb546fd74b691b22f1a",
                "sha256:f3080abec1ab6782e161b64f9ff13a31b0d692a01148f27faf11d27b2d7522e4",
                "sha256:f42d449b1ad53394f64078ed116bf0dbdede57e1528c1dc12dd6a2dd83e96851"
            ],
            "markers": "python_full_version >= '3.7.0'",
            "version": "==2.5.0"
        },
        "urwid-readline": {
            "hashes": [
                "sha256:018020cbc864bb5ed87be17dc26b069eae2755cb29f3a9c569aac3bded1efaf4"
            ],
            "version": "==0.13"
        }
    }
}
@matteius
Copy link
Member

I am not seeing this -- we did fix a similar issue a long time ago, but haven't seen this for some time -- is it possible you still have some old pipenv package available on your path?

$ pipenv --help
Usage: pipenv [OPTIONS] COMMAND [ARGS]...

Options:
  --where                         Output project home information.
  --venv                          Output virtualenv information.
  --py                            Output Python interpreter information.
  --envs                          Output Environment Variable options.
  --rm                            Remove the virtualenv.
  --bare                          Minimal output.
  --man                           Display manpage.
  --support                       Output diagnostic information for use in
                                  GitHub issues.
  --site-packages / --no-site-packages
                                  Enable site-packages for the virtualenv.
                                  [env var: PIPENV_SITE_PACKAGES]
  --python TEXT                   Specify which version of Python virtualenv
                                  should use.
  --clear                         Clears caches (pipenv, pip).  [env var:
                                  PIPENV_CLEAR]
  -q, --quiet                     Quiet mode.
  -v, --verbose                   Verbose mode.
  --pypi-mirror TEXT              Specify a PyPI mirror.
  --version                       Show the version and exit.
  -h, --help                      Show this message and exit.


Usage Examples:
   Create a new project using Python 3.7, specifically:
   $ pipenv --python 3.7

   Remove project virtualenv (inferred from current directory):
   $ pipenv --rm

   Install all dependencies for a project (including dev):
   $ pipenv install --dev

   Create a lockfile containing pre-releases:
   $ pipenv lock --pre

   Show a graph of your installed dependencies:
   $ pipenv graph

   Check your installed dependencies for security vulnerabilities:
   $ pipenv check

   Install a local setup.py into your virtual environment/Pipfile:
   $ pipenv install -e .

   Use a lower-level pip command:
   $ pipenv run pip freeze

Commands:
  check         Checks for PyUp Safety security vulnerabilities and against
                PEP 508 markers provided in Pipfile.
  clean         Uninstalls all packages not specified in Pipfile.lock.
  graph         Displays currently-installed dependency graph information.
  install       Installs provided packages and adds them to Pipfile, or (if no
                packages are given), installs all packages from Pipfile.
  lock          Generates Pipfile.lock.
  open          View a given module in your editor.
  requirements  Generate a requirements.txt from Pipfile.lock.
  run           Spawns a command installed into the virtualenv.
  scripts       Lists scripts in current environment config.
  shell         Spawns a shell within the virtualenv.
  sync          Installs all packages specified in Pipfile.lock.
  uninstall     Uninstalls a provided package and removes it from Pipfile.
  update        Runs lock, then sync.
  upgrade       Resolves provided packages and adds them to Pipfile, or (if no
                packages are given), merges results to Pipfile.lock
  verify        Verify the hash in Pipfile.lock is up-to-date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants