Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Handle conflict in namespace 'serial'#114

Merged
mariobehling merged 1 commit intofossasia:developmentfossasia/pslab-python:developmentfrom
bessman:serial-conflictbessman/pslab-python:serial-conflictCopy head branch name to clipboard
Jun 7, 2020
Merged

Handle conflict in namespace 'serial'#114
mariobehling merged 1 commit intofossasia:developmentfossasia/pslab-python:developmentfrom
bessman:serial-conflictbessman/pslab-python:serial-conflictCopy head branch name to clipboard

Conversation

@bessman
Copy link
Collaborator

@bessman bessman commented May 23, 2020

The packages 'pyserial' and 'serial' both use the 'serial' namespace. Therefore, import serial will succeed if the user has the latter package installed, even though PSL needs the former. This results in an unhelpful "Could not connect" RuntimeError down the line.

With this change, PSL verifies that the correct 'serial' was imported, and complains otherwise.

@mariobehling mariobehling merged commit 5c03e23 into fossasia:development Jun 7, 2020
@bessman bessman deleted the serial-conflict branch June 8, 2020 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.