← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1813938] [NEW] When try to install oslo.log in CygWin 64bits failed pyinotify dependency

 

Public bug reported:

Hi,

When I install in CygWin 64 bits a package that has dependency for oslo.log, then failed:
pip install -v --upgrade python-neutronclient

Exist a workaroud for this, or howto fix it?


Fails with the following error:

...

Collecting pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" (from oslo.log>=3.36.0->python-neutronclient)
  1 location(s) to search for versions of pyinotify:
  * https://pypi.org/simple/pyinotify/
  Getting page https://pypi.org/simple/pyinotify/
  Looking up "https://pypi.org/simple/pyinotify/"; in the cache
  Request header has "max_age" as 0, cache bypassed
  https://pypi.org:443 "GET /simple/pyinotify/ HTTP/1.1" 304 0
  Analyzing links from page https://pypi.org/simple/pyinotify/
    Found link https://files.pythonhosted.org/packages/40/54/6a5c5dee4f4393098cc56329fbc724c1c39389f8164a1b14c031d59937f3/pyinotify-0.9.0.tar.gz#sha256=af1f7d22067010cf29dd35fe17f8715f816f026c4ed769f7383fd419d4af9fd6 (from https://pypi.org/simple/pyinotify/), version: 0.9.0
    Found link https://files.pythonhosted.org/packages/c0/05/f0da2dc60f1aa61fc65cd5b0cca8befeef3f0622b193fcf9a90e018a552a/pyinotify-0.9.1.tar.gz#sha256=dd0eac2bd0172502ca35e976cbefa34359d0d795f29572993611dc1b98554838 (from https://pypi.org/simple/pyinotify/), version: 0.9.1
    Found link https://files.pythonhosted.org/packages/45/7b/4c72ff5282ceb9ef658579529081a859b71cef7170ce613cb01fc391dd0f/pyinotify-0.9.2.tar.gz#sha256=61f382e2b4cd04e05b8bf871393a3697dbf0e3934129c377c05b959038d26fb4 (from https://pypi.org/simple/pyinotify/), version: 0.9.2
    Found link https://files.pythonhosted.org/packages/48/01/988afd71e5fca5a7303a8e1dafce0cf4659c1b593c4a76e788e4e76fc7de/pyinotify-0.9.3.tar.gz#sha256=447b01feaf25a2ad36e4101b583a8212bd701d5c34e330dd62dd9f32ba149aa6 (from https://pypi.org/simple/pyinotify/), version: 0.9.3
    Found link https://files.pythonhosted.org/packages/69/bd/a55a13103b6672eeff7919932c3caf573b6c97ffa1ef69a02064760eb08d/pyinotify-0.9.4.tar.gz#sha256=a09767e4e0610e2e1e9f9dc89483b0ee4a53764e700f5866a570bec51d003fec (from https://pypi.org/simple/pyinotify/), version: 0.9.4
    Found link https://files.pythonhosted.org/packages/89/34/8574ec4c7d3a9fa74e7bd6b55c4d2c182cc91861f99516dab650e43992cc/pyinotify-0.9.5.tar.gz#sha256=e7c52a9f36cee27c5d0931ecf92959cd022317b00901bd34ef05ece4a2a5cb1b (from https://pypi.org/simple/pyinotify/), version: 0.9.5
    Found link https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from https://pypi.org/simple/pyinotify/), version: 0.9.6
  Using version 0.9.6 (newest of versions: 0.9.6)
  Created temporary directory: /tmp/pip-unpack-0rKHMk
  Looking up "https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz"; in the cache
  Current age based on date: 8466
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 8466
  Using cached https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from https://pypi.org/simple/pyinotify/)
  Added pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" from https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from oslo.log>=3.36.0->python-neutronclient) to build tracker '/tmp/pip-req-tracker-aPlTWG'
    Running setup.py (path:/tmp/pip-install-R1uixM/pyinotify/setup.py) egg_info for package pyinotify
    Running command python setup.py egg_info
    inotify is not available on cygwin-2.11.2-x86_64
Cleaning up...
  Removing source in /tmp/pip-install-R1uixM/pyinotify
Removed pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" from https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from oslo.log>=3.36.0->python-neutronclient) from build tracker '/tmp/pip-req-tracker-aPlTWG'
Removed build tracker '/tmp/pip-req-tracker-aPlTWG'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-R1uixM/pyinotify/
Exception information:
Traceback (most recent call last):
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 176, in main
    status = self.run(options, args)
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 315, in run
    resolver.resolve(requirement_set)
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/resolve.py", line 131, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/resolve.py", line 242, in _get_abstract_dist_for
    self.require_hashes
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 349, in prepare_linked_requirement
    abstract_dist.prep_for_dist(finder, self.build_isolation)
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 158, in prep_for_dist
    self.req.prepare_metadata()
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 536, in prepare_metadata
    self.run_egg_info()
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 615, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 761, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-R1uixM/pyinotify/


Regards,
Cesar Jorge

** Affects: neutron
     Importance: Undecided
         Status: New

** Affects: oslo.log
     Importance: Undecided
         Status: New


** Tags: oslo.log pyinotify

** Also affects: neutron
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1813938

Title:
  When try to install oslo.log in CygWin 64bits failed pyinotify
  dependency

Status in neutron:
  New
Status in oslo.log:
  New

Bug description:
  Hi,

  When I install in CygWin 64 bits a package that has dependency for oslo.log, then failed:
  pip install -v --upgrade python-neutronclient

  Exist a workaroud for this, or howto fix it?

  
  Fails with the following error:

  ...

  Collecting pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" (from oslo.log>=3.36.0->python-neutronclient)
    1 location(s) to search for versions of pyinotify:
    * https://pypi.org/simple/pyinotify/
    Getting page https://pypi.org/simple/pyinotify/
    Looking up "https://pypi.org/simple/pyinotify/"; in the cache
    Request header has "max_age" as 0, cache bypassed
    https://pypi.org:443 "GET /simple/pyinotify/ HTTP/1.1" 304 0
    Analyzing links from page https://pypi.org/simple/pyinotify/
      Found link https://files.pythonhosted.org/packages/40/54/6a5c5dee4f4393098cc56329fbc724c1c39389f8164a1b14c031d59937f3/pyinotify-0.9.0.tar.gz#sha256=af1f7d22067010cf29dd35fe17f8715f816f026c4ed769f7383fd419d4af9fd6 (from https://pypi.org/simple/pyinotify/), version: 0.9.0
      Found link https://files.pythonhosted.org/packages/c0/05/f0da2dc60f1aa61fc65cd5b0cca8befeef3f0622b193fcf9a90e018a552a/pyinotify-0.9.1.tar.gz#sha256=dd0eac2bd0172502ca35e976cbefa34359d0d795f29572993611dc1b98554838 (from https://pypi.org/simple/pyinotify/), version: 0.9.1
      Found link https://files.pythonhosted.org/packages/45/7b/4c72ff5282ceb9ef658579529081a859b71cef7170ce613cb01fc391dd0f/pyinotify-0.9.2.tar.gz#sha256=61f382e2b4cd04e05b8bf871393a3697dbf0e3934129c377c05b959038d26fb4 (from https://pypi.org/simple/pyinotify/), version: 0.9.2
      Found link https://files.pythonhosted.org/packages/48/01/988afd71e5fca5a7303a8e1dafce0cf4659c1b593c4a76e788e4e76fc7de/pyinotify-0.9.3.tar.gz#sha256=447b01feaf25a2ad36e4101b583a8212bd701d5c34e330dd62dd9f32ba149aa6 (from https://pypi.org/simple/pyinotify/), version: 0.9.3
      Found link https://files.pythonhosted.org/packages/69/bd/a55a13103b6672eeff7919932c3caf573b6c97ffa1ef69a02064760eb08d/pyinotify-0.9.4.tar.gz#sha256=a09767e4e0610e2e1e9f9dc89483b0ee4a53764e700f5866a570bec51d003fec (from https://pypi.org/simple/pyinotify/), version: 0.9.4
      Found link https://files.pythonhosted.org/packages/89/34/8574ec4c7d3a9fa74e7bd6b55c4d2c182cc91861f99516dab650e43992cc/pyinotify-0.9.5.tar.gz#sha256=e7c52a9f36cee27c5d0931ecf92959cd022317b00901bd34ef05ece4a2a5cb1b (from https://pypi.org/simple/pyinotify/), version: 0.9.5
      Found link https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from https://pypi.org/simple/pyinotify/), version: 0.9.6
    Using version 0.9.6 (newest of versions: 0.9.6)
    Created temporary directory: /tmp/pip-unpack-0rKHMk
    Looking up "https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz"; in the cache
    Current age based on date: 8466
    Ignoring unknown cache-control directive: immutable
    Freshness lifetime from max-age: 365000000
    The response is "fresh", returning cached response
    365000000 > 8466
    Using cached https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz
    Downloading from URL https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from https://pypi.org/simple/pyinotify/)
    Added pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" from https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from oslo.log>=3.36.0->python-neutronclient) to build tracker '/tmp/pip-req-tracker-aPlTWG'
      Running setup.py (path:/tmp/pip-install-R1uixM/pyinotify/setup.py) egg_info for package pyinotify
      Running command python setup.py egg_info
      inotify is not available on cygwin-2.11.2-x86_64
  Cleaning up...
    Removing source in /tmp/pip-install-R1uixM/pyinotify
  Removed pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" from https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz#sha256=9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4 (from oslo.log>=3.36.0->python-neutronclient) from build tracker '/tmp/pip-req-tracker-aPlTWG'
  Removed build tracker '/tmp/pip-req-tracker-aPlTWG'
  Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-R1uixM/pyinotify/
  Exception information:
  Traceback (most recent call last):
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 176, in main
      status = self.run(options, args)
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 315, in run
      resolver.resolve(requirement_set)
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/resolve.py", line 131, in resolve
      self._resolve_one(requirement_set, req)
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one
      abstract_dist = self._get_abstract_dist_for(req_to_install)
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/resolve.py", line 242, in _get_abstract_dist_for
      self.require_hashes
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 349, in prepare_linked_requirement
      abstract_dist.prep_for_dist(finder, self.build_isolation)
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 158, in prep_for_dist
      self.req.prepare_metadata()
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 536, in prepare_metadata
      self.run_egg_info()
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 615, in run_egg_info
      command_desc='python setup.py egg_info')
    File "/home/admin/venv-ansible-2.6.5/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 761, in call_subprocess
      % (command_desc, proc.returncode, cwd))
  InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-R1uixM/pyinotify/

  
  Regards,
  Cesar Jorge

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1813938/+subscriptions


Follow ups