Skip to content

Commit

Permalink
Edit Python module versions for Pipenv
Browse files Browse the repository at this point in the history
Pipenv virtual environment versions were updated. The file
is intended for Python 3.7 because that is the main devel
environment currently used by the author.

This was tested with pipenv 2020.4.1b1.

The Pylint and Pyflakes were not updated because there is
a conflict when running Pylint with latest versions. Root
cause for this is not known

  $ make lint
  Traceback (most recent call last):
    File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
      "__main__", mod_spec)
    File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
      exec(code, run_globals)
    File "/root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages/pylint/__main__.py", line 18, in <module>
      pylint.run_pylint()
    File "/root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages/pylint/__init__.py", line 22, in run_pylint
      PylintRun(sys.argv[1:])
    File "/root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages/pylint/lint/run.py", line 338, in __init__
      linter.check(args)
    File "/root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 878, in check
      files_or_modules,
    File "/root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages/pylint/lint/check_parallel.py", line 101, in check_parallel
      _worker_check_single_file, files
    File "/usr/lib64/python3.7/multiprocessing/pool.py", line 748, in next
      raise value
  ImportError: Unable to find module for tests/conftest.py in /usr/lib64/python37.zip,
  /usr/lib64/python3.7,
  /usr/lib64/python3.7/lib-dynload,
  /root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib64/python3.7/site-packages,
  /root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages,
  /root/.cache/snippy/.virtualenvs/snippy-bx98gM5i/lib/python3.7/site-packages/astroid/brain
  make: *** [Makefile:111: lint] Error 1

Signed-off-by: Heikki Laaksonen <laaksonen.heikki.j@gmail.com>
  • Loading branch information
heilaaks committed May 4, 2020
1 parent 87a3c14 commit 32aaafb
Show file tree
Hide file tree
Showing 2 changed files with 219 additions and 176 deletions.
12 changes: 6 additions & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ verify_ssl = true
name = "pypi"

[dev-packages]
mock = "==4.0.1"
mock = "==4.0.2"
openapi2jsonschema = "==0.9.1"
pprintpp = "==0.4.0"
pylint = "==2.4.4"
pytest-cov = "==2.8.1"
pytest-mock = "==2.0.0"
pytest-mock = "==3.1.0"
sphinx-autobuild = "==0.7.1"
sphinxcontrib-openapi = "==0.6.0"
tox = "==3.14.5"
tox = "==3.15.0"
pyflakes = "==2.1.1"
logging-tree = "==1.8.1"
sphinx-rtd-theme = "==0.4.3"
sphinx = "==2.4.3"
pytest = "==5.3.5"
sphinx = "==3.0.3"
pytest = "==5.4.1"
flake8 = "==3.7.9"
docker = "==4.2.0"
requests = "*"
bandit = "==1.6.2"
pytest-xdist = "==1.31.0"
pytest-xdist = "==1.32.0"

[packages]
falcon = "==2.0.0"
Expand Down

0 comments on commit 32aaafb

Please sign in to comment.