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 compatibility changes #87

Merged
merged 34 commits into from
Aug 6, 2017
Merged

Python3 compatibility changes #87

merged 34 commits into from
Aug 6, 2017

Conversation

giovtorres
Copy link
Member

These batch of commits addresses issues #3 and #4, providing python 3 compatibility.

- Made small changes for python3 compatibility.
- The times could be off by 1 second, which causes the test to fail.
- Added stringOrNone() where missing.
- Fixed some formatting.
- Changed cpdef for def's.
- Updated signatures to be Py3 compatible.
- Added unit tests.
- Removed pull_trigger function.  As far as I can tell, this is only used by
slurmctld, and is not an option in the strigger command.
- Removed char* from function signature to make python 3 compatible.
- Pass jobid as either string or int.
- Changed cpdef's to def's.
- Removed need for memset/memcpy
- Various string encodings for Python3 compatibility.
- Added unit tests.
- Python 3 compatibility changes.
- Updated reservation example scripts.
- Updated examples for python3.
- Added unit tests for create/update/delete partitions.
- Added unit test for node().update()
@giovtorres giovtorres merged commit a05588e into master Aug 6, 2017
@giovtorres giovtorres deleted the py3-compat branch August 6, 2017 15:57
This was referenced Aug 6, 2017
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.

None yet

1 participant