fractal-server 2.10.3__py3-none-any.whl → 2.10.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fractal_server/__init__.py +1 -1
- fractal_server/app/security/__init__.py +5 -0
- fractal_server/app/security/signup_email.py +1 -1
- {fractal_server-2.10.3.dist-info → fractal_server-2.10.5.dist-info}/METADATA +13 -13
- {fractal_server-2.10.3.dist-info → fractal_server-2.10.5.dist-info}/RECORD +8 -11
- {fractal_server-2.10.3.dist-info → fractal_server-2.10.5.dist-info}/WHEEL +1 -1
- fractal_server/app/runner/.gitignore +0 -2
- fractal_server/migrations/README +0 -1
- fractal_server/migrations/script.py.mako +0 -25
- {fractal_server-2.10.3.dist-info → fractal_server-2.10.5.dist-info}/LICENSE +0 -0
- {fractal_server-2.10.3.dist-info → fractal_server-2.10.5.dist-info}/entry_points.txt +0 -0
fractal_server/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__VERSION__ = "2.10.
|
1
|
+
__VERSION__ = "2.10.5"
|
@@ -254,10 +254,15 @@ class UserManager(IntegerIDMixin, BaseUserManager[UserOAuth, int]):
|
|
254
254
|
|
255
255
|
if this_user.oauth_accounts and settings.MAIL_SETTINGS is not None:
|
256
256
|
try:
|
257
|
+
logger.info(
|
258
|
+
"START sending email about new signup to "
|
259
|
+
f"{settings.MAIL_SETTINGS.recipients}."
|
260
|
+
)
|
257
261
|
mail_new_oauth_signup(
|
258
262
|
msg=f"New user registered: '{this_user.email}'.",
|
259
263
|
mail_settings=settings.MAIL_SETTINGS,
|
260
264
|
)
|
265
|
+
logger.info("END sending email about new signup.")
|
261
266
|
except Exception as e:
|
262
267
|
logger.error(
|
263
268
|
"ERROR sending notification email after oauth "
|
@@ -13,7 +13,7 @@ def mail_new_oauth_signup(msg: str, mail_settings: MailSettings):
|
|
13
13
|
mail_msg = EmailMessage()
|
14
14
|
mail_msg.set_content(msg)
|
15
15
|
mail_msg["From"] = formataddr((mail_settings.sender, mail_settings.sender))
|
16
|
-
mail_msg["To"] = ",".join(
|
16
|
+
mail_msg["To"] = ", ".join(
|
17
17
|
[
|
18
18
|
formataddr((recipient, recipient))
|
19
19
|
for recipient in mail_settings.recipients
|
@@ -1,12 +1,12 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: fractal-server
|
3
|
-
Version: 2.10.
|
4
|
-
Summary:
|
3
|
+
Version: 2.10.5
|
4
|
+
Summary: Backend component of the Fractal analytics platform
|
5
5
|
Home-page: https://github.com/fractal-analytics-platform/fractal-server
|
6
6
|
License: BSD-3-Clause
|
7
7
|
Author: Tommaso Comparin
|
8
8
|
Author-email: tommaso.comparin@exact-lab.it
|
9
|
-
Requires-Python: >=3.10,<
|
9
|
+
Requires-Python: >=3.10,<3.13
|
10
10
|
Classifier: License :: OSI Approved :: BSD License
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
@@ -14,24 +14,24 @@ Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
15
15
|
Requires-Dist: alembic (>=1.13.1,<2.0.0)
|
16
16
|
Requires-Dist: cloudpickle (>=3.0.0,<3.1.0)
|
17
|
-
Requires-Dist: clusterfutures (
|
17
|
+
Requires-Dist: clusterfutures (==0.5)
|
18
18
|
Requires-Dist: cryptography (>=44.0.0,<44.1.0)
|
19
|
-
Requires-Dist: fabric (>=3.2.2,<
|
19
|
+
Requires-Dist: fabric (>=3.2.2,<3.3.0)
|
20
20
|
Requires-Dist: fastapi (>=0.115.0,<0.116.0)
|
21
21
|
Requires-Dist: fastapi-users[oauth] (>=14,<15)
|
22
22
|
Requires-Dist: gunicorn (>=21.2,<23.0)
|
23
|
-
Requires-Dist: packaging (>=23.2,<24.0)
|
24
|
-
Requires-Dist: psutil (
|
23
|
+
Requires-Dist: packaging (>=23.2.0,<24.0.0)
|
24
|
+
Requires-Dist: psutil (==5.9.8)
|
25
25
|
Requires-Dist: psycopg[binary] (>=3.1.0,<4.0.0)
|
26
26
|
Requires-Dist: pydantic (>=1.10.8,<2)
|
27
|
-
Requires-Dist: python-dotenv (>=1.0.0,<
|
27
|
+
Requires-Dist: python-dotenv (>=1.0.0,<1.1.0)
|
28
28
|
Requires-Dist: sqlalchemy[asyncio] (>=2.0.23,<2.1)
|
29
|
-
Requires-Dist: sqlmodel (
|
30
|
-
Requires-Dist: uvicorn (
|
31
|
-
Requires-Dist: uvicorn-worker (
|
32
|
-
Project-URL: Changelog, https://github.com/fractal-analytics-platform/fractal-server/blob/main/CHANGELOG.md
|
29
|
+
Requires-Dist: sqlmodel (==0.0.21)
|
30
|
+
Requires-Dist: uvicorn (==0.29.0)
|
31
|
+
Requires-Dist: uvicorn-worker (==0.2.0)
|
33
32
|
Project-URL: Documentation, https://fractal-analytics-platform.github.io/fractal-server
|
34
33
|
Project-URL: Repository, https://github.com/fractal-analytics-platform/fractal-server
|
34
|
+
Project-URL: changelog, https://github.com/fractal-analytics-platform/fractal-server/blob/main/CHANGELOG.md
|
35
35
|
Description-Content-Type: text/markdown
|
36
36
|
|
37
37
|
# Fractal Server
|
@@ -1,4 +1,4 @@
|
|
1
|
-
fractal_server/__init__.py,sha256=
|
1
|
+
fractal_server/__init__.py,sha256=j4UXxLfDE1Yliq3zzdCOkBXdg0mF1i5EWgZIJXrwXLE,23
|
2
2
|
fractal_server/__main__.py,sha256=D2YTmSowmXNyvqOjW_HeItCZT2UliWlySl_owicaZg0,8026
|
3
3
|
fractal_server/alembic.ini,sha256=MWwi7GzjzawI9cCAK1LW7NxIBQDUqD12-ptJoq5JpP0,3153
|
4
4
|
fractal_server/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -73,7 +73,6 @@ fractal_server/app/routes/aux/__init__.py,sha256=LR4bR7RunHAK6jc9IR2bReQd-BdXADd
|
|
73
73
|
fractal_server/app/routes/aux/_job.py,sha256=q-RCiW17yXnZKAC_0La52RLvhqhxuvbgQJ2MlGXOj8A,702
|
74
74
|
fractal_server/app/routes/aux/_runner.py,sha256=FdCVla5DxGAZ__aB7Z8dEJzD_RIeh5tftjrPyqkr8N8,895
|
75
75
|
fractal_server/app/routes/aux/validate_user_settings.py,sha256=Y8eubau0julkwVYB5nA83nDtxh_7RU9Iq0zAhb_dXLA,2351
|
76
|
-
fractal_server/app/runner/.gitignore,sha256=ytzN_oyHWXrGU7iFAtoHSTUbM6Rn6kG0Zkddg0xZk6s,16
|
77
76
|
fractal_server/app/runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
78
77
|
fractal_server/app/runner/async_wrap.py,sha256=_O6f8jftKYXG_DozkmlrDBhoiK9QhE9MablOyECq2_M,829
|
79
78
|
fractal_server/app/runner/components.py,sha256=ZF8ct_Ky5k8IAcrmpYOZ-bc6OBgdELEighYVqFDEbZg,119
|
@@ -161,8 +160,8 @@ fractal_server/app/schemas/v2/task_collection.py,sha256=9c_yyFcVBXdAZpQQniy1bROh
|
|
161
160
|
fractal_server/app/schemas/v2/task_group.py,sha256=EPQ1WHjIA8WDrpsTfvfRESjwUVzu6jKiaKZx45b36N4,3215
|
162
161
|
fractal_server/app/schemas/v2/workflow.py,sha256=-KWvXnbHBFA3pj5n7mfSyLKJQSqkJmoziIEe7mpLl3M,1875
|
163
162
|
fractal_server/app/schemas/v2/workflowtask.py,sha256=FthKErVgx3a-k7WVk3nqJe1G-fl_iHND4rVrDXJ0F84,5942
|
164
|
-
fractal_server/app/security/__init__.py,sha256=
|
165
|
-
fractal_server/app/security/signup_email.py,sha256=
|
163
|
+
fractal_server/app/security/__init__.py,sha256=qn6idYgl-p5HWea0gTVnz4JnkoxGEkmQjPzvKpDWT0I,14035
|
164
|
+
fractal_server/app/security/signup_email.py,sha256=DrL51UdTSrgjleynMD5CRZwTSOpPrZ96fasRV0fvxDE,1165
|
166
165
|
fractal_server/app/user_settings.py,sha256=OP1yiYKtPadxwM51_Q0hdPk3z90TCN4z1BLpQsXyWiU,1316
|
167
166
|
fractal_server/config.py,sha256=9rAzw7OO6ZeHEz-I8NJHuGoHf4xCHxfFLyRNZQD9ytY,27019
|
168
167
|
fractal_server/data_migrations/README.md,sha256=_3AEFvDg9YkybDqCLlFPdDmGJvr6Tw7HRI14aZ3LOIw,398
|
@@ -173,10 +172,8 @@ fractal_server/images/models.py,sha256=UlWazUOFQtpS3pZuROjcJXviG_Ai453jqUDHdzuvD
|
|
173
172
|
fractal_server/images/tools.py,sha256=gxeniYy4Z-cp_ToK2LHPJUTVVUUrdpogYdcBUvBuLiY,2209
|
174
173
|
fractal_server/logger.py,sha256=zwg_AjIHkNP0ruciXjm5lI5UFP3n6tMHullsM9lDjz4,5039
|
175
174
|
fractal_server/main.py,sha256=gStLT9Du5QMpc9SyvRvtKU21EKwp-dG4HL3zGHzE06A,4908
|
176
|
-
fractal_server/migrations/README,sha256=4rQvyDfqodGhpJw74VYijRmgFP49ji5chyEemWGHsuw,59
|
177
175
|
fractal_server/migrations/env.py,sha256=9t_OeKVlhM8WRcukmTrLbWNup-imiBGP_9xNgwCbtpI,2730
|
178
176
|
fractal_server/migrations/naming_convention.py,sha256=htbKrVdetx3pklowb_9Cdo5RqeF0fJ740DNecY5de_M,265
|
179
|
-
fractal_server/migrations/script.py.mako,sha256=oMXw9LC3zRbinWWPPDgeZ4z9FJrV2zhRWiYdS5YgNbI,526
|
180
177
|
fractal_server/migrations/versions/034a469ec2eb_task_groups.py,sha256=vrPhC8hfFu1c4HmLHNZyCuqEfecFD8-bWc49bXMNes0,6199
|
181
178
|
fractal_server/migrations/versions/091b01f51f88_add_usergroup_and_linkusergroup_table.py,sha256=-BSS9AFTPcu3gYC-sYbawSy4MWQQx8TfMb5BW5EBKmQ,1450
|
182
179
|
fractal_server/migrations/versions/19eca0dd47a9_user_settings_project_dir.py,sha256=Q1Gj1cJ0UrdLBJ5AXfFK9QpxTtmcv-4Z3NEGDnxOme4,961
|
@@ -241,8 +238,8 @@ fractal_server/tasks/v2/utils_templates.py,sha256=07TZpJ0Mh_A4lXVXrrH2o1VLFFGwxe
|
|
241
238
|
fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
|
242
239
|
fractal_server/utils.py,sha256=utvmBx8K9I8hRWFquxna2pBaOqe0JifDL_NVPmihEJI,3525
|
243
240
|
fractal_server/zip_tools.py,sha256=GjDgo_sf6V_DDg6wWeBlZu5zypIxycn_l257p_YVKGc,4876
|
244
|
-
fractal_server-2.10.
|
245
|
-
fractal_server-2.10.
|
246
|
-
fractal_server-2.10.
|
247
|
-
fractal_server-2.10.
|
248
|
-
fractal_server-2.10.
|
241
|
+
fractal_server-2.10.5.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
|
242
|
+
fractal_server-2.10.5.dist-info/METADATA,sha256=0phWLK--FfXgp-mZLXcttuguEVfLPGLrgKyGH9Lrtic,4562
|
243
|
+
fractal_server-2.10.5.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
244
|
+
fractal_server-2.10.5.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
|
245
|
+
fractal_server-2.10.5.dist-info/RECORD,,
|
fractal_server/migrations/README
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Generic single-database configuration with an async dbapi.
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"""${message}
|
2
|
-
|
3
|
-
Revision ID: ${up_revision}
|
4
|
-
Revises: ${down_revision | comma,n}
|
5
|
-
Create Date: ${create_date}
|
6
|
-
|
7
|
-
"""
|
8
|
-
from alembic import op
|
9
|
-
import sqlalchemy as sa
|
10
|
-
import sqlmodel
|
11
|
-
${imports if imports else ""}
|
12
|
-
|
13
|
-
# revision identifiers, used by Alembic.
|
14
|
-
revision = ${repr(up_revision)}
|
15
|
-
down_revision = ${repr(down_revision)}
|
16
|
-
branch_labels = ${repr(branch_labels)}
|
17
|
-
depends_on = ${repr(depends_on)}
|
18
|
-
|
19
|
-
|
20
|
-
def upgrade() -> None:
|
21
|
-
${upgrades if upgrades else "pass"}
|
22
|
-
|
23
|
-
|
24
|
-
def downgrade() -> None:
|
25
|
-
${downgrades if downgrades else "pass"}
|
File without changes
|
File without changes
|