Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
arcivanov opened this issue Mar 20, 2020 · 0 comments · Fixed by #677
Closed

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

arcivanov opened this issue Mar 20, 2020 · 0 comments · Fixed by #677
Assignees
Milestone

Comments

@arcivanov
Copy link
Member

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
@arcivanov arcivanov self-assigned this Mar 20, 2020
@arcivanov arcivanov added this to the v0.12.0 milestone Mar 20, 2020
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Mar 25, 2020
…tible

Multiple fixes for Sphinx plugin
Smoke test for Sphinx plugin
Rework of include_directory and include_file
Fix a bug in package file processing

fixes pybuilder#675, pybuilder#676, pybuilder#672
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Mar 26, 2020
…tible

Multiple fixes for Sphinx plugin
Smoke test for Sphinx plugin
Rework of include_directory and include_file
Fix a bug in package file processing

fixes pybuilder#675, pybuilder#676, pybuilder#672
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant