Skip to content
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

Maintenance #26

Open
vladfedoriuk opened this issue Nov 6, 2023 · 0 comments
Open

Maintenance #26

vladfedoriuk opened this issue Nov 6, 2023 · 0 comments
Labels
chore Things need to be done good first issue Good for newcomers

Comments

@vladfedoriuk
Copy link
Collaborator

vladfedoriuk commented Nov 6, 2023

Some of the dependencies need upgrading.

The project utilizes pip-tools for Python dependencies management, so one may adhere to:
https://github.com/jazzband/pip-tools#updating-requirements

Essential packages to keep updated and to pay the most attention to:

  • Pydantic
  • SQLAlchemy, aiosqlite, alembic
  • Typer
  • httpx (and httpx-* extensions)
  • third-party-imports

Also, necessary development/testing dependencies are:

  • pytest (and pytest-* plugins)
  • polyfactory (see if a better integration with SQLAlchemy has already landed, perhaps, adjust the codebase)
  • dirty-equals
  • ruff (get rid of black in favor of a new ruff formatter)
  • mypy (and types-* plugins)
  • pyproject-fmt
  • ipython
  • pre-commit
  • stamina
  • loguru

Generally, consult pyproject.toml to see the core Python dependencies standing behind the project.

For Node.js packages, a pnpm package manager is employed:
Useful commands:

https://github.com/kachkaev/njt can be used to track the changelog of the packages to be updated

The following Frontend dependencies updates will require special care and thorough testing:

Apart from that, both pip-tools (pip?), and pnpm might also require an update.

CI/CD and pre-commit hooks will need to be adapted as well.
To update the pre-commit hooks, you may use https://pre-commit.com/#updating-hooks-automatically
But keep in mind to sync the linter / formatters versions among .pre-commit-config.yaml, respective lock files (requirements/*.txt and package.json), and GitHub Actions Workflows configs.

Consider if it is time to bump Python (to 3.12) and Node.js (to 20.*) versions.

@vladfedoriuk vladfedoriuk added good first issue Good for newcomers chore Things need to be done labels Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Things need to be done good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant