Breezy support for Windows

Bug #1818947 reported by Raoul Snyman on 2019-03-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raoul Snyman

Bug Description

When trying to install breezy via pip on my Windows 7 VM (note, this is currently 3.0b1), I get the following error (paths somewhat redacted for privacy):

    copying build\scripts-3.6\git-remote-bzr -> python36\Scripts
    Traceback (most recent call last):
      File "pip-install-n80qmf4c\breezy\", line 145, in run
        args = self._win_batch_args()
      File "pip-install-n80qmf4c\breezy\", line 162, in _win_batch_args
        from breezy.win32utils import winver
    ImportError: cannot import name 'winver'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "pip-install-n80qmf4c\breezy\", line 771, in <module>
      File "python36\lib\distutils\", line 148, in setup
      File "python36\lib\distutils\", line 955, in run_commands
      File "python36\lib\distutils\", line 974, in run_command
      File "python36\lib\site-packages\setuptools\command\", line 61, in run
      File "python36\lib\distutils\command\", line 557, in run
      File "python36\lib\distutils\", line 313, in run_command
      File "python36\lib\distutils\", line 974, in run_command
      File "pip-install-n80qmf4c\breezy\", line 153, in run
        print(("ERROR: Unable to create %s: %s" % (batch_path, e)))
    UnboundLocalError: local variable 'batch_path' referenced before assignment

I noticed that 3.0 was just released, so I downloaded the tarball for that and tried to install it and got the exact same error.

Related branches

Jelmer Vernooij (jelmer) wrote :

Unfortunately we since we don't have access to Windows machines, we haven't paid much attention to Breezy on Windows. adds appveyor support for Breezy and fixes a couple of Windows porting issues, but it doesn't seem to hit the issues you mention.

summary: - Cannot install on Windows: Cannot import name 'winver'
+ Breezy support for Windows
Changed in brz:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 3.0.1
Jelmer Vernooij (jelmer) wrote :

Help getting Breezy to run on Windows (and passing the testsuite) would be great.

tags: added: win32
Raoul Snyman (raoul-snyman) wrote :

I found the merge proposal where this code was removed:

Looks like it's not needed anymore. I'll update the code based on the changes I made to get it to install on Windows.

Changed in brz:
assignee: nobody → Raoul Snyman (raoul-snyman)
Jelmer Vernooij (jelmer) on 2019-04-13
Changed in brz:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers