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

Issue when installing dogpile.cache module #2959

Closed
xocasdashdash opened this issue Oct 9, 2018 · 2 comments
Closed

Issue when installing dogpile.cache module #2959

xocasdashdash opened this issue Oct 9, 2018 · 2 comments

Comments

@xocasdashdash
Copy link

xocasdashdash commented Oct 9, 2018

Issue description

I have a Pipfile.lock with this version of dogpile.cache:

"dogpile.cache": {
            "hashes": [
                "sha256:fca7deb7c276b879b01c15c5d39b3c05701dc43b263ec3fef1e52cb851cf88ab"
            ],
            "index": "pypi",
            "version": "==0.6.7"
        },

If I run install with pipenv version (2018.7.1) it works, but if I run it with the current version (2018.10.9) it fails with this error:

An error occurred while installing dogpile-cache==0.6.7 --hash=sha256:fca7deb7c276b879b01c15c5d39b3c05701dc43b263ec3fef1e52cb851cf88ab! Will try again.

Expected result

It should install the package

Actual result

It fails

Steps to replicate

Create this file as a dockerfile

FROM python:3.6
RUN pip install pipenv=="2018.10.9"
WORKDIR /app
COPY Pipfile.fail /app/Pipfile 
COPY Pipfile.fail.lock /app/Pipfile.lock
RUN pipenv install --system
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
"dogpile.cache" = "==0.6.7"

[dev-packages]

[requires]
python_version = "3.6"

{
    "_meta": {
        "hash": {
            "sha256": "b7d7b836ef8b811aa9260231565ca0ddb977c7d0b6cf784086ace44a6db9b5ea"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "dogpile.cache": {
            "hashes": [
                "sha256:fca7deb7c276b879b01c15c5d39b3c05701dc43b263ec3fef1e52cb851cf88ab"
            ],
            "index": "pypi",
            "version": "==0.6.7"
        }
    },
    "develop": {}
}

Run docker build -t to_delete -f Dockerfile


$ pipenv --support

Pipenv version: '2018.10.9'

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

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

Python installations found:

  • 3.6.6: /usr/local/bin/python3.6
  • 3.6.6: /usr/local/bin/python3.6m
  • 3.5.3: /usr/bin/python3.5m
  • 3.5.3: /usr/bin/python3.5
  • 2.7.13: /usr/bin/python2.7

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.9.93-linuxkit-aufs',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Wed Jun 6 16:55:56 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

  • HOSTNAME
  • PYTHON_PIP_VERSION
  • HOME
  • GPG_KEY
  • PATH
  • LANG
  • PYTHON_VERSION
  • PWD
  • PYTHONDONTWRITEBYTECODE
  • PIP_SHIMS_BASE_MODULE
  • PIP_PYTHON_PATH

Pipenv–specific environment variables:

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]
"dogpile.cache" = "==0.6.7"

[dev-packages]

[requires]
python_version = "3.6"

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

{
    "_meta": {
        "hash": {
            "sha256": "b7d7b836ef8b811aa9260231565ca0ddb977c7d0b6cf784086ace44a6db9b5ea"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "dogpile.cache": {
            "hashes": [
                "sha256:fca7deb7c276b879b01c15c5d39b3c05701dc43b263ec3fef1e52cb851cf88ab"
            ],
            "index": "pypi",
            "version": "==0.6.7"
        }
    },
    "develop": {}
}
@Jamim
Copy link
Contributor

Jamim commented Oct 9, 2018

I believe this issue is a duplicate of #2956.

@xocasdashdash
Copy link
Author

Yeah, I'll close it

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

No branches or pull requests

2 participants