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

Release/1.8.0 #1638

Merged
merged 16 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code_quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.11"
- name: Install git-secrets in the repository
run: git secrets --install
- name: Install git-secrets aws register in the repository
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ jobs:
with:
script: |
core.setFailed('E2E tests failed')

- name: Pass if tests pass
if: steps.e2e-tests.outcome == 'success'
uses: actions/github-script@v7
with:
script: |
core.setCommandEcho('E2E tests passed')

publish-report:
name: Publish Report
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ migrate-arbitrary:
# NOTE: cq == "Code quality"
.PHONY: cq
cq:
${RUFF_COMMAND} check . && ${RUFF_COMMAND} format . && ${MYPY_COMMAND} .
${RUFF_COMMAND} check . && ${RUFF_COMMAND} format --check . && ${MYPY_COMMAND} .

# NOTE: cqf == "Code quality fix"
.PHONY: cqf
cqf:
${RUFF_COMMAND} format . && ${RUFF_COMMAND} check --fix . && ${MYPY_COMMAND} .

# ###############
# Docker
Expand Down
76 changes: 34 additions & 42 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,27 @@ verify_ssl = true
name = "pypi"

[packages]
redis = "==5.0.8"
alembic = "==1.13.2"
aio-pika = "==9.4.3"
aiofiles = "==24.1.0"
aiohttp = "==3.10.9"
alembic = "==1.13.3"
asyncpg = "==0.29.0"
boto3 = "==1.35.16"
azure-storage-blob = "==12.22.0"
bcrypt = "==4.2.0"
boto3 = "==1.26.10"
fastapi = "==0.110.3"
# The latest version of the fastapi is not taken because of the issue
# with fastapi-mail that requires 0.21 < starlette < 0.22
# starlette version for those deps ==0.21.0
# with fastapi-mail that requires 0.21 < starlette < 0.22

fastapi-mail = "==1.2.9"
firebase-admin = "==6.5.0"
httpx = "==0.27.2"
jinja2 = "==3.1.4"
bcrypt = "==4.2.0"
passlib = { version = "==1.7.4", extras = ["bcrypt"] }
pyOpenSSL = "==24.2.1"
pydantic = { extras = ["email"], version = "==1.10.18" }
python-jose = { version = "==3.3.0", extras = ["cryptography"] }
python-multipart = "==0.0.9"
sentry-sdk = "~=2.13"
sqlalchemy = { extras = ["asyncio"], version = "==1.4.53" }
uvicorn = { extras = ["standard"], version = "==0.30.6" }
taskiq = { extras = ["reload"], version = "==0.11.7" }
aiohttp = "==3.10.5"
firebase-admin = "==6.5.0"
aio-pika = "==9.4.3"
azure-storage-blob = "==12.22.0"
taskiq-fastapi = "==0.3.2"
taskiq-redis = "==1.0.0"
taskiq-aio-pika = "==0.4.1"
sqlalchemy-utils = "==0.41.2"
typer = "==0.12.5"
aiofiles = "==24.1.0"
nh3 = "==0.2.18"
opentelemetry-api = "==1.27.0"
opentelemetry-sdk = "==1.27.0"
opentelemetry-exporter-otlp = "==1.27.0"
opentelemetry-distro = "==0.48b0"
opentelemetry-exporter-otlp = "==1.27.0"
opentelemetry-instrumentation = "==0.48b0"
opentelemetry-instrumentation-asgi = "==0.48b0"
opentelemetry-instrumentation-asyncio = "==0.48b0"
Expand All @@ -49,51 +35,57 @@ opentelemetry-instrumentation-sqlite3 = "==0.48b0"
opentelemetry-instrumentation-tortoiseorm = "==0.48b0"
opentelemetry-instrumentation-urllib = "==0.48b0"
opentelemetry-instrumentation-wsgi = "==0.48b0"
opentelemetry-propagator-aws-xray = "==1.0.2"
opentelemetry-sdk = "==1.27.0"
opentelemetry-sdk-extension-aws = "==2.0.2"
opentelemetry-semantic-conventions = "==0.48b0"
opentelemetry-test-utils = "==0.48b0"
opentelemetry-util-http = "==0.48b0"
opentelemetry-propagator-aws-xray = "==1.0.2"
opentelemetry-sdk-extension-aws = "==2.0.2"
nh3 = "==0.2.18"
pyOpenSSL = "==24.2.1"
pydantic = { extras = ["email"], version = "==1.10.18" }
pymongo = "*"
python-multipart = "==0.0.12"
redis = "==5.1.0"
sentry-sdk = "~=2.13"
sqlalchemy = { extras = ["asyncio"], version = "==1.4.53" }
sqlalchemy-utils = "==0.41.2"
taskiq = { extras = ["reload"], version = "==0.11.7" }
taskiq-aio-pika = "==0.4.1"
taskiq-fastapi = "==0.3.2"
taskiq-redis = "==1.0.2"
typer = "==0.12.5"
uvicorn = { extras = ["standard"], version = "==0.30.6" }
pyjwt = "==2.9.0"

[dev-packages]
# Nobody knows for what its needed
ipdb = "==0.13.13"
pudb = "==2024.1.2"
# Linters and Formatters
pre-commit = "==3.8.0"
ruff = "==0.6.4"
# Tests
ruff = "==0.6.8"
allure-pytest = "==2.13.5"
pydantic-factories = "==1.17.3"
pytest = "==8.3.3"
pytest-asyncio = "~=0.19"
pytest-cov = "==5.0.0"
pytest-env = "==1.1.4"
pytest-env = "==1.1.5"
pytest-lazy-fixtures = "==1.1.1"
pytest-mock = "==3.14.0"
nest-asyncio = "==1.6.0"
gevent = "==24.2.1"
# MyPy
mypy = "==1.11.2"
types-passlib = "==1.7.7.20240819"
types-python-dateutil = "==2.9.0.20240906"
types-python-jose = "==3.3.4.20240106"
typing-extensions = "==4.12.2"
types-requests = "==2.32.0.20240712"
types-pytz = "==2024.1.0.20240417"
types-requests = "==2.32.0.20240914"
types-pytz = "==2024.2.0.20240913"
types-aiofiles = "==24.1.0.20240626"
types-cachetools = "==5.5.0.20240820"
# https://github.com/sqlalchemy/sqlalchemy/issues/7714
greenlet = "==3.1.0"
# JSONLD deps only for dev
reproschema = "*"
cachetools = "==5.3.0"
pyld = "==2.0.4"

[requires]
python_version = "3.10"
python_version = "3.11"

[scripts]
cli = "python src/cli.py"
Loading
Loading