Skip to content

SMOKETEST: Invalid escaping of the setup.py paths on Windows #675

@arcivanov

Description

@arcivanov
File c:\users\travis\build\pybuilder\pybuilder\target\reports\integrationtests\smoke_analyze_tests.err:
    C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\reactor.py:25: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
      import imp
    Traceback (most recent call last):
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\cli.py", line 439, in main
        summary = reactor.build(
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\reactor.py", line 235, in build
        execution_summary = self.build_execution_plan(tasks, execution_plan)
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\reactor.py", line 270, in build_execution_plan
        task_execution_summaries = self.execution_manager.execute_execution_plan(
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\execution.py", line 399, in execute_execution_plan
        summaries.append(self.execute_task(task, **kwargs))
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\execution.py", line 343, in execute_task
        if self.execute_action(action, kwargs):
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\execution.py", line 388, in execute_action
        action.execute(arguments)
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\execution.py", line 101, in execute
        self.callable(*arguments)
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\plugins\python\distutils_plugin.py", line 220, in build_binary_distribution
        execute_distutils(project, logger, reactor.pybuilder_venv, commands, True)
      File "C:\Users\travis\AppData\Local\Temp\IntegrationTestSupport0af_cw50\src/main/python\pybuilder\plugins\python\distutils_plugin.py", line 322, in execute_distutils
        raise BuildFailedException(
    pybuilder.errors.BuildFailedException: Error while executing setup command ['sdist']. See c:\users\travis\appdata\local\temp\integrationtestsupport0af_cw50\target\reports\distutils\sdist for full details:
    	  File "c:\users\travis\appdata\local\temp\integrationtestsupport0af_cw50\target\dist\pybuilder-0.12.0.dev\setup.py", line 81
    	    'pybuilder._vendor': ['c:\users\travis\appdata\local\temp\integrationtestsupport0af_cw50\src\main\python\pybuilder\_vendor\licenses']
    	                          ^
    	SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \uXXXX escape

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions