Stream: python

Topic: pyDataverse 0.4.0beta1 Testing Results & Observations


view this post on Zulip Janvi Kapoor (Sep 10 2026 at 12:22):

Hi everyone,

I ran systematic tests on pyDataverse 0.4.0beta1 (commit 1fb1ac6) using Python 3.14.7 on Windows against demo.dataverse.org. Here is a summary of what I tested and the observations and errors I ran into:

Environment:

Successful Operations:

Observations, Warnings & Errors Noticed:

  1. Pydantic V2 Deprecation Warning:

  2. Draft Dataset Export (HTTP 400):

  3. Strict Pydantic Validation on Metadata Edit:

  4. Dataset Publication Rule (HTTP 409):

view this post on Zulip Philip Durbin πŸš€ (Sep 10 2026 at 12:35):

Janvi Kapoor said:

Note: Might need updating internally to align with Pydantic v2 standards.

For this one, observation 1, what do you suggest?

view this post on Zulip Philip Durbin πŸš€ (Sep 10 2026 at 12:35):

Also, thanks for taking a look!

view this post on Zulip Janvi Kapoor (Sep 10 2026 at 12:39):

Hi @Philip Durbin πŸš€

For Observation 1, since pyDataverse is using Pydantic v2, the older .json() method on models is deprecated in favor of .model_dump_json().

My suggestion would be to check the internal source code where .json() is being called on model instances and replace it with .model_dump_json() to fully align with Pydantic v2 standards and clear out those deprecation warnings.
Should I continue testing other methods like this, or should I change direction? Since the documentation is quite large, could you please point me to a specific module or file and let me know what exact operations you want me to focus on next?

view this post on Zulip Philip Durbin πŸš€ (Sep 10 2026 at 12:58):

Wow, that was fast. Sorry, I have meetings all morning. More soon! Thanks again!

view this post on Zulip Janvi Kapoor (Sep 10 2026 at 18:50):

Hi everyone,

While running edge-case and stress tests on pyDataverse 0.4.0beta1, I ran into one specific behavior in the collection crawler that might need a pre-flight validation check:

  1. Crawler Hang / Timeout on Invalid Filter Parameter:

Other standard validation checks (like Pydantic literal validation for QueryOptions and HTTP status mappings for invalid IDs/tokens) are behaving as expected.

@Philip Durbin πŸš€ Let me know if this helps or if there are other specific workflows you'd like me to test next!

view this post on Zulip Philip Durbin πŸš€ (Sep 10 2026 at 18:51):

Hi, sorry, I'm all over the place today. Interviewing candidates for our open QA position (#community > IQSS is hiring a Senior QA and Production Support Manager). Trying to get the 6.12 release out (#community > Release 6.12 Timeline).

view this post on Zulip Philip Durbin πŸš€ (Sep 10 2026 at 18:53):

All this feedback on pyDataverse is valuable but I'd like @Jan Range and Max (the maintainers) to take a look as well.

If it's ok with you, we can slow down on the pyDataverse feedback until we hear from them and switch over to frontend development (#ui-dev is a good place for that). Thanks for the frontend PR! :tada:

view this post on Zulip Janvi Kapoor (Sep 10 2026 at 18:58):

Hi @Philip Durbin πŸš€ Please don't apologize at allβ€”totally understand you're busy with interviews and the 6.12 release.

No need to reply to me here! I'll keep dropping my pyDataverse test notes whenever I have them so Jan Range and Max can check them out whenever they're free.

And sounds good, I'll switch my focus back to frontend development in the meantime. Good luck with the interviews and release! :rocket:

view this post on Zulip Philip Durbin πŸš€ (Sep 10 2026 at 19:01):

Thanks! Yes, we'll circle back to this feedback!


Last updated: Nov 02 2026 at 07:01 UTC