Skip to content
Snippets Groups Projects
  1. Dec 05, 2024
    • 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
  2. Nov 20, 2024
    • 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
  3. Nov 12, 2024
  4. Oct 21, 2024
  5. Oct 17, 2024
    • Saurabh Kumar's avatar
      Use pre-commit in ci to check for lint issues (#4110) · 8b9c8c85
      Saurabh Kumar authored
      - Add eslint and stylint to pre-commit
      - Update .github workflow
      - upgrade ruff
      - Make mirror-eslint work (ps: it doesn't seem to find the "globals"
      package if not installed with npm install explicitly
      - Add timeout to each task
      8b9c8c85
  6. Mar 11, 2024
  7. Feb 07, 2024
  8. Jan 29, 2024
  9. Jan 12, 2024
  10. Jan 11, 2024
  11. Dec 10, 2023
  12. Dec 01, 2023
    • Saurabh Kumar's avatar
      Upgrade to Django 4.2 LTS (#3652) · ff9e73ab
      Saurabh Kumar authored
      - Update psycopg to 3 as it’s not supported by Django 4.2
      - Replaced “BaseUserManager().make_random_password”, as it’s deprecated
      - Update github action and breakup different checks, making them easier
      to debug
      - Updated the `makemigrations` checks to display the missing migration
      and then fail
      - Upgrade django-hijack to 3.4.2
      - Update gunicorn to 21.2.0
      - Upgrade django slack to 5.19.0
      - Upgrade mistune to 3.0.2 (Bug fix release)
      - Upgrade whitenoise to 6.6.0
      - Update dev dependencies - black, ruff, pre-commit, pytest-django
      
      Closes https://github.com/HyphaApp/hypha/issues/3362
      ff9e73ab
  13. Oct 20, 2023
  14. Sep 08, 2023
  15. Apr 10, 2023
  16. Jan 13, 2023
    • Saurabh Kumar's avatar
      Replace flake8 & isort with ruff (#3103) · 5eab4ac4
      Saurabh Kumar authored
      Fixes #3101
      
      - Remove `make sort` and `make sort-fix` make targerts
      - Use `make lint` and `make lint-fix` instead.
      - Make use of GitHub Annotation to surface issues as annotations
      directly in the files changed, similar to CodeQL.
      - Move stuff from `setup.cfg` to `pyproject.toml`
      - Fixed the potentially buggy code. Each of the fix types is in
      individual commits.
      5eab4ac4
  17. Jan 09, 2023
  18. Jan 06, 2023
  19. Dec 20, 2022
  20. Dec 15, 2022
  21. Dec 07, 2022
  22. Nov 11, 2022
  23. Nov 29, 2021
  24. Apr 06, 2021
  25. Nov 02, 2020
Loading