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 support for restapi #2117

Merged
merged 50 commits into from Oct 26, 2018
Merged

Commits on Oct 23, 2018

  1. select working pycifrw in setup requirements

    select working version of PycCifRW for python2 and python3
    ltalirz committed Oct 23, 2018
    Copy the full SHA
    57906c3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7b6517c View commit details
    Browse the repository at this point in the history
  3. Explicitly setting the mode for tempfile.NamedTemporaryFile() calls t…

    …o write text instead of bytes.
    merkys committed Oct 23, 2018
    Copy the full SHA
    f80ddec View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    a4c7fb9 View commit details
    Browse the repository at this point in the history
  5. rename _exportstring => _exportcontent

    _exportstring should return bytes.
    to reflect this, we are renaming it and updating its docstring
    ltalirz committed Oct 23, 2018
    Copy the full SHA
    f3f789f View commit details
    Browse the repository at this point in the history
  6. fix 3 errors in db.cmdline.commands.data

    errors were only converted to test failures
    (the interactive part of the test is failing now)
    ltalirz committed Oct 23, 2018
    Copy the full SHA
    6c4d4f4 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    8557c57 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    db83723 View commit details
    Browse the repository at this point in the history
  9. fix regular exprs in cif_encode_contents

    still to do: fix base64 conversion
    ltalirz committed Oct 23, 2018
    Copy the full SHA
    c979179 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    b2deed9 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    ec5ccc2 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    839cfe7 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    a710c7d View commit details
    Browse the repository at this point in the history
  14. Change strings to bytes for python3 compatibility

    Functions affected:
    1) test_contents_encoding_1()
    2) cif_encode_contents
    3) encode_textfield_quoted_printable
    yakutovicha committed Oct 23, 2018
    Copy the full SHA
    f899303 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    1ecfcea View commit details
    Browse the repository at this point in the history
  16. remove unnecessary imports

    ltalirz committed Oct 23, 2018
    Copy the full SHA
    3b475e5 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    f0aa0d1 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    729fef1 View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    c14648c View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    7abccb4 View commit details
    Browse the repository at this point in the history
  21. Explicitly marking strings as Unicode in Tcodexporter test case to ma…

    …ke them runnable both on Python 2 and Python 3.
    merkys committed Oct 23, 2018
    Copy the full SHA
    9351f12 View commit details
    Browse the repository at this point in the history
  22. fixes to make restapi compatible with python3

    Snehal Kumbhar committed Oct 23, 2018
    Copy the full SHA
    f2d3e0d View commit details
    Browse the repository at this point in the history
  23. Merge branch 'cif_fix' into python3_restapi

    Snehal Kumbhar committed Oct 23, 2018
    Copy the full SHA
    6725cc5 View commit details
    Browse the repository at this point in the history
  24. enabled rest api tests

    Snehal Kumbhar committed Oct 23, 2018
    Copy the full SHA
    2d33a5e View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2018

  1. updated rest api tests

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    e836ba7 View commit details
    Browse the repository at this point in the history
  2. removed unused import

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    8f1ab03 View commit details
    Browse the repository at this point in the history
  3. updated pre-commit

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    0b87d69 View commit details
    Browse the repository at this point in the history
  4. Updated files to run prospector for restapi data translators

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    4315fb8 View commit details
    Browse the repository at this point in the history
  5. Added calculation translator file in pre-commit hook

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    f004bbf View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    688632e View commit details
    Browse the repository at this point in the history
  7. Added more files from rest api for prospector

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    2677601 View commit details
    Browse the repository at this point in the history
  8. files updated by yapf

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    a4c66a8 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'develop' into python3_restapi

    Snehal Kumbhar committed Oct 24, 2018
    Copy the full SHA
    ceadc75 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2018

  1. Copy the full SHA
    a0ac363 View commit details
    Browse the repository at this point in the history
  2. Added all rest api files for pre-commit

    Snehal Kumbhar committed Oct 25, 2018
    Copy the full SHA
    9425730 View commit details
    Browse the repository at this point in the history
  3. added rest api tests file to process in pre-commit

    Snehal Kumbhar committed Oct 25, 2018
    Copy the full SHA
    0ce7f0d View commit details
    Browse the repository at this point in the history
  4. Merge branch 'develop' into python3_restapi

    Snehal Kumbhar committed Oct 25, 2018
    Copy the full SHA
    c3dd652 View commit details
    Browse the repository at this point in the history
  5. docs fix

    Snehal Kumbhar committed Oct 25, 2018
    Copy the full SHA
    8ae6599 View commit details
    Browse the repository at this point in the history
  6. small fix

    Snehal Kumbhar committed Oct 25, 2018
    Copy the full SHA
    f2b4020 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'develop' into python3_restapi

    Snehal Kumbhar committed Oct 25, 2018
    Copy the full SHA
    85308fb View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Fixed merge of aiida/backends/tests/tcodexporter.py

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    fb70d6c View commit details
    Browse the repository at this point in the history
  2. Fixed some prospectos in rest api

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    5c08a70 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'develop' into python3_restapi

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    49ddfc0 View commit details
    Browse the repository at this point in the history
  4. small fix

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    e4e96d5 View commit details
    Browse the repository at this point in the history
  5. small fix again

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    e493c47 View commit details
    Browse the repository at this point in the history
  6. Fix for datetime.tzinfo.utcoffset

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    49bb2aa View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    94d97be View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    b5348b2 View commit details
    Browse the repository at this point in the history
  9. small changes

    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    ac2cf77 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'python3_restapi' of https://github.com/waychal/aiida_core

    … into python3_restapi
    Snehal Kumbhar committed Oct 26, 2018
    Copy the full SHA
    de993a0 View commit details
    Browse the repository at this point in the history