Breezy support for Windows

Bug #1818947 reported by Raoul Snyman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
Critical
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\setup.py", line 145, in run
        args = self._win_batch_args()
      File "pip-install-n80qmf4c\breezy\setup.py", 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\setup.py", line 771, in <module>
        setup(**ARGS)
      File "python36\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "python36\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "python36\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "python36\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "python36\lib\distutils\command\install.py", line 557, in run
        self.run_command(cmd_name)
      File "python36\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "python36\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "pip-install-n80qmf4c\breezy\setup.py", 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.

Tags: win32

Related branches

Revision history for this message
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.

https://code.launchpad.net/~jelmer/brz/appveyor 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
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

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

tags: added: win32
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

I found the merge proposal where this code was removed: https://code.launchpad.net/~gz/brz/farewell_98/+merge/325130

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)
Changed in brz:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.