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

Backport PR 7839 to v2.9 (DataStore Dump Streaming) #7899

Conversation

JVickery-TBS
Copy link
Contributor

backport(datastore): 7839 for 2.9;

  • Backport code from PR 7839 for v2.9.

#7839

CC: @amercader

- Backport code from PR 7839 for v2.9.
- Backport code from PR 7839 for v2.9.
@amercader
Copy link
Member

Sorry @JVickery-TBS, there are some failures in the datastore test_dump.py tests

- Fixed str/bytes issues with python2 and python3 for datastore dump writers.
@JVickery-TBS
Copy link
Contributor Author

@amercader sorry! Okay I had to fix up the string vs bytes stuff, namely with the BOMs and the XML writer. The tests should pass now.

And I manually tested locally on a CKAN 2.9 python2 install, and a python3 install. And the code works in both.

- PEP8 syntax fixes.
- PEP8 syntax fixes.
@JVickery-TBS
Copy link
Contributor Author

@amercader the only test not passing is test_building_the_docs, not sure if that is related to this code or not.

@wardi
Copy link
Contributor

wardi commented Mar 5, 2024

@JVickery-TBS try building them yourself with sphinx-build doc build/sphinx to see what the error was

@amercader amercader merged commit e2f7fed into ckan:dev-v2.9 Mar 6, 2024
1 check failed
@amercader
Copy link
Member

Thanks @JVickery-TBS ,I'll take care of the docs failures, these are unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants