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

Python3 #187

Closed
wants to merge 9 commits into from
Closed

Python3 #187

wants to merge 9 commits into from

Conversation

dhoomakethu
Copy link
Contributor

Cleaning up mess.

bashwork and others added 7 commits July 2, 2013 23:37
- adding a python 2x/3x compatibility layer
- adding tox testing and setup.py command
- converting all strings to bytes in tests and code
- common porting the code examples
- abstracting ord/chr differences with compatibility layer
- converting struct.(un)pack(B) to compatibility layer
- converting payload to use to_string (breaking)
- updating configuration values
- updating deep_clean to work with python3
- bumping dependency versions
- using examples to explore python3 bugs
- checking that the example code works under python3
- converting contrib code to python3
- fixing binary protocol
- fixing ascii protocol
- fixing documentation issues
- all tests pass for python3
Endian should be switchable, Endian in the fromRegisters function always was Endian.Big (>)

This is correctly implemented in the master branch.
FIX: Ability to chose Endianness in fromRegisters function
* Remerge of changes in clean feature branch.

* Excluded async tests due to twisted dependencies in imports. Adapted synchronous tests to new standard socket library by adding more required mocks.

* Removed twisted dependency.
@dhoomakethu
Copy link
Contributor Author

@moltob I will try to resolve these conflicts and will add you as reviewer . Please confirm if the resolve still holds good.

@dhoomakethu dhoomakethu mentioned this pull request Aug 24, 2017
21 tasks
* Add connected property to AsyncModbusClientMixin.

* Add check against setting result and future that is alreadt done/cancelled
dhoomakethu added a commit that referenced this pull request Dec 18, 2017
dhoomakethu added a commit that referenced this pull request Dec 18, 2017
2. Updated examples and tests
3. Move to py.test from nosetests
4. Set coverage failure to 85% till all asyncio unit tests are covered
dhoomakethu added a commit that referenced this pull request Dec 18, 2017
2. Updated examples and tests
3. Move to py.test from nosetests
4. Set coverage failure to 85% till all asyncio unit tests are covered
@dhoomakethu
Copy link
Contributor Author

Will be covered as part of #246

@dhoomakethu dhoomakethu deleted the python3 branch May 10, 2018 11:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants