Skip to content

Instantly share code, notes, and snippets.

@aaront
Last active July 23, 2019 01:56
Show Gist options
  • Save aaront/9c1156015284a29f7c2bb5cd9435fdc8 to your computer and use it in GitHub Desktop.
Save aaront/9c1156015284a29f7c2bb5cd9435fdc8 to your computer and use it in GitHub Desktop.
poetry dependency issue windows 10
[tool.poetry]
name = "gitypython-test"
version = "0.1.0"
description = ""
authors = ["Aaron <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.7"
GitPython = "^2.1"
[tool.poetry.dev-dependencies]
pytest = "^3.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Virtualenv gitypython-test-py3.7 already exists.
Using virtualenv: C:\Users\aaron\AppData\Local\pypoetry\Cache\virtualenvs\gitypython-test-py3.7
Updating dependencies
Resolving dependencies...
1: fact: gitypython-test is 0.1.0
1: derived: gitypython-test
1: fact: gitypython-test depends on GitPython (^2.1)
1: fact: gitypython-test depends on pytest (^3.0)
1: selecting gitypython-test (0.1.0)
1: derived: pytest (^3.0)
1: derived: GitPython (^2.1)
PyPI: 44 packages found for pytest >=3.0,<4.0
PyPI: No release information found for gitpython-2.1.2, skipping
PyPI: 12 packages found for gitpython >=2.1,<3.0
1: fact: gitpython (2.1.12) depends on gitdb2 (>=2.0.0)
1: fact: gitpython (2.1.12) depends on gitdb (>=0.6.4)
1: fact: gitpython (2.1.12) depends on ddt (>=1.1.1)
1: selecting gitpython (2.1.12)
1: derived: ddt (>=1.1.1)
1: derived: gitdb (>=0.6.4)
1: derived: gitdb2 (>=2.0.0)
PyPI: 5 packages found for ddt >=1.1.1
PyPI: 1 packages found for gitdb >=0.6.4
PyPI: 6 packages found for gitdb2 >=2.0.0
PyPI: Getting info for gitdb (0.6.4) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading sdist: gitdb-0.6.4.tar.gz
1: Version solving took 0.397 seconds.
1: Tried 1 solutions.
[PermissionError]
[WinError 5] Access is denied: 'C:\\Users\\aaron\\AppData\\Local\\Temp\\tmplx22xv9u\\unpacked\\gitdb-0.6.4\\gitdb\\test\\fixtures\\objects\\88\\8401851f15db0eed60eb1bc29dec5ddcace911'
Exception trace:
C:\Users\aaron\.poetry\lib\poetry\_vendor\py3.7\cleo\application.py in run() at line 94
status_code = self.do_run(input_, output_)
C:\Users\aaron\.poetry\lib\poetry\console\application.py in do_run() at line 88
return super(Application, self).do_run(i, o)
C:\Users\aaron\.poetry\lib\poetry\_vendor\py3.7\cleo\application.py in do_run() at line 197
status_code = command.run(input_, output_)
C:\Users\aaron\.poetry\lib\poetry\console\commands\command.py in run() at line 77
return super(BaseCommand, self).run(i, o)
C:\Users\aaron\.poetry\lib\poetry\_vendor\py3.7\cleo\commands\base_command.py in run() at line 146
status_code = self.execute(input_, output_)
C:\Users\aaron\.poetry\lib\poetry\_vendor\py3.7\cleo\commands\command.py in execute() at line 107
return self.handle()
C:\Users\aaron\.poetry\lib\poetry\console\commands\install.py in handle() at line 55
return_code = installer.run()
C:\Users\aaron\.poetry\lib\poetry\installation\installer.py in run() at line 73
self._do_install(local_repo)
C:\Users\aaron\.poetry\lib\poetry\installation\installer.py in _do_install() at line 165
ops = solver.solve(use_latest=self._whitelist)
C:\Users\aaron\.poetry\lib\poetry\puzzle\solver.py in solve() at line 38
packages, depths = self._solve(use_latest=use_latest)
C:\Users\aaron\.poetry\lib\poetry\puzzle\solver.py in _solve() at line 171
self._package, self._provider, locked=locked, use_latest=use_latest
C:\Users\aaron\.poetry\lib\poetry\mixology\__init__.py in resolve_version() at line 7
return solver.solve()
C:\Users\aaron\.poetry\lib\poetry\mixology\version_solver.py in solve() at line 79
next = self._choose_package_version()
C:\Users\aaron\.poetry\lib\poetry\mixology\version_solver.py in _choose_package_version() at line 377
version = self._provider.complete_package(version)
C:\Users\aaron\.poetry\lib\poetry\puzzle\provider.py in complete_package() at line 465
package.name, package.version.text, extras=package.requires_extras
C:\Users\aaron\.poetry\lib\poetry\repositories\pool.py in package() at line 49
package = repository.package(name, version, extras=extras)
C:\Users\aaron\.poetry\lib\poetry\repositories\pypi_repository.py in package() at line 159
release_info = self.get_release_info(name, version)
C:\Users\aaron\.poetry\lib\poetry\repositories\pypi_repository.py in get_release_info() at line 262
"{}:{}".format(name, version), lambda: self._get_release_info(name, version)
C:\Users\aaron\.poetry\lib\poetry\_vendor\py3.7\cachy\repository.py in remember_forever() at line 174
val = value(callback)
_shutil.rmtree(self.name)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in rmtree() at line 513
return _rmtree_unsafe(path, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 392
_rmtree_unsafe(fullname, onerror)
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 397
onerror(os.unlink, fullname, sys.exc_info())
C:\Users\aaron\AppData\Local\Programs\Python\Python37\lib\shutil.py in _rmtree_unsafe() at line 395
os.unlink(fullname)
install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment