Skip to content

Conversation

@lindsay-stevens
Copy link
Contributor

What has been done to verify that this works as intended?

Ran tests + linter.

Why is this the best possible solution? Were any other approaches considered?

Last update was >6 months ago. Requests dependency spec was changed from == to >= since this package seems to get security patches pretty frequently lately, so it seems like having pyodk block using a newer requests version is worse than the possibility of a functional incompatibility - in which case the user could specifically install an earlier requests version. The pydantic changes seem to be mainly performance, stability, etc.

Linting changes:

  • RUF023 (unsorted-dunder-slots) new rule (affected many files)
  • PLC0415 imports at top of file (affected test_forms.py)
  • S320 previously ignored rule no longer exists so it is deleted

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Should not be any functional changes.

Do we need any specific form for testing your changes? If so, please attach one.

N/A

Does this change require updates to documentation? If so, please file an issue here and include the link below.

N/A

Before submitting this PR, please make sure you have:

  • included test cases for core behavior and edge cases in tests
  • run python -m unittest and verified all tests pass
  • run ruff format pyodk tests and ruff check pyodk tests to lint code
  • verified that any code or assets from external sources are properly credited in comments

- linting changes:
  - RUF023 (unsorted-dunder-slots) new rule (affected many files)
  - PLC0415 imports at top of file (affected test_forms.py)
  - S320 previously ignored rule no longer exists so it is deleted
@lindsay-stevens lindsay-stevens merged commit 9ba3b59 into getodk:master Jul 22, 2025
14 checks passed
@lindsay-stevens lindsay-stevens deleted the update-deps branch July 22, 2025 03:20
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.

2 participants