8000 Failing Pregel Doctest by apetenchea · Pull Request #332 · arangodb/python-arango · GitHub
[go: up one dir, main page]

Skip to content

Failing Pregel Doctest #332

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

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Failing Pregel Doctest #332

merged 2 commits into from
Mar 12, 2024

Conversation

apetenchea
Copy link
Member
@apetenchea apetenchea commented Mar 12, 2024

Because Pregel is deprecated since ArangoDB 3.12, its doctest will start failing as new arangodb docker images get released (our doctest config always pulls arangodb/arangodb:latest).
I suggest we still keep the Pregel examples for now, but mark it as code-block instead of testcode, as the API is still usable with supported versions (3.10 and 3.11).

Also, there is a small issue with the order of operations in the transactions.rst example. One of the newly created transactions was neither aborted not committed. I fixed that by moving the last added example towards the end and I explicitly aborted the transaction.

@apetenchea apetenchea self-assigned this Mar 12, 2024
@codecov-commenter
Copy link
codecov-commenter commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.01%. Comparing base (21f25fe) to head (61b8e8d).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #332   +/-   ##
=======================================
  Coverage   98.01%   98.01%           
=======================================
  Files          26       26           
  Lines        4240     4240           
=======================================
  Hits         4156     4156           
  Misses         84       84           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@apetenchea apetenchea added the Ready to Merge Pull request is ready to merge label Mar 12, 2024
@apetenchea apetenchea merged commit ead2e66 into main Mar 12, 2024
@apetenchea apetenchea deleted the bug-fix/failing-doctest branch March 12, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to Merge Pull request is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0