Skip to content
Snippets Groups Projects
  1. Dec 16, 2024
    • Saurabh Kumar's avatar
      Add django-stubs as a project dependency + other patches (#4278) · b7212e11
      Saurabh Kumar authored
      Allow for better type hints when working with editors that support it.
      I'm using Zed with pywright linter. Recently, some type hints were added
      to the project. This help catch issues against the django default types
      and any custom types that are added to this codebase.
      
      This doesn't add any runtime overhead.
      
      This PR also these patch versions of these dependencies
      
      - Updated anyio v4.6.2.post1 -> v4.7.0
      - Updated boto3 v1.35.76 -> v1.35.79
      - Updated botocore v1.35.76 -> v1.35.79
      - Updated coverage v7.6.8 -> v7.6.9
      - Updated django-select2 v8.2.1 -> v8.2.3
      - Updated httpx v0.28.0 -> v0.28.1
      - Updated mkdocs-material v9.5.47 -> v9.5.48
      - Updated numpy v2.1.3 -> v2.2.0
      - Updated sentry-sdk v2.19.0 -> v2.19.2
      - Updated sqlparse v0.5.2 -> v0.5.3
      
      
      https://github.com/typeddjango/django-stubs
      b7212e11
  2. Dec 13, 2024
  3. Dec 10, 2024
  4. Dec 09, 2024
  5. Dec 07, 2024
  6. Dec 06, 2024
  7. Dec 05, 2024
    • Saurabh Kumar's avatar
      c0c4504b
    • Saurabh Kumar's avatar
      Small typo fix (#4244) · 04a97daa
      Saurabh Kumar authored
      04a97daa
    • Saurabh Kumar's avatar
      Use uv to manage and generate dependencies (#4232) · d62fca02
      Saurabh Kumar authored
      - Use frozen dependencies with hashes to ensure reproducible dependency
      installation in a secure way.
      - Uses `uv` and pre-commit to automatically generate the locked
      requirements files from pyproject.toml.
      - While the translation dependencies can be installed directly with
      `uv`, uv doesn’t seem to be able to add `--find-link=…` to the exported
      `requirements/translate.txt`, for that reason the translation
      dependencies are left as they are and won’t be automatically exported
      via pre-commit.
      - So whenever `uv lock —upgrade` is run, it will freeze the latest patch
      versions.
      - The production dependencies are specified with a `~` which means `>=`
      at the last digit of requirements.
      - The dev dependencies have `>=` to make them easy to update, if
      something breaks in dev either fix it or go back to the old frozen
      dependencies.
      - Moved generated dependencies in requirements/ folder.
      - Use `--no-deps` where applicable while installing these generated
      requirements as the sub-dependencies are already resolved.
      d62fca02
  8. Dec 04, 2024
  9. Dec 03, 2024
  10. Dec 02, 2024
  11. Nov 27, 2024
  12. Nov 26, 2024
  13. Nov 25, 2024
  14. Nov 22, 2024
  15. Nov 20, 2024
    • Wes Appler's avatar
      Remove `js/toggle-related.js` template line (#4223) · d5da9abe
      Wes Appler authored
      Somehow this got reintroduced in my translate feature rebasing
      d5da9abe
    • Wes Appler's avatar
      Add the ability to translate submissions (redux) (#4219) · 7a68e69c
      Wes Appler authored
      This builds on the #4134 PR that initially introduced machine
      translations into Hypha. This isolates the translation behavior; putting
      pip dependencies in a separate `requirements-translate.txt` and will not
      attempt any translate imports unless the setting for it is true.
      
      Other small changes are also a full docs page explaining how to install
      language packages & changing the setting once again from
      `SUBMISSION_TRANSLATIONS_ENABLED` to `APPLICATION_TRANSLATIONS_ENABLED`
      to reflect the system wide shift away from submission terminology.
      7a68e69c
Loading