galaxy-web-stack 25.0.4__tar.gz → 25.1.dev0__tar.gz
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.
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/HISTORY.rst +3 -9
- {galaxy_web_stack-25.0.4/galaxy_web_stack.egg-info → galaxy_web_stack-25.1.dev0}/PKG-INFO +5 -11
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/web_stack/__init__.py +4 -7
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/web_stack/handlers.py +1 -2
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/web_stack/message.py +2 -3
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0/galaxy_web_stack.egg-info}/PKG-INFO +5 -11
- galaxy_web_stack-25.1.dev0/galaxy_web_stack.egg-info/requires.txt +3 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/setup.cfg +2 -2
- galaxy_web_stack-25.0.4/galaxy_web_stack.egg-info/requires.txt +0 -3
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/LICENSE +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/MANIFEST.in +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/README.rst +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/dev-requirements.txt +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/__init__.py +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/py.typed +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/web_stack/gunicorn_config.py +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy/web_stack/transport.py +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy_web_stack.egg-info/SOURCES.txt +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy_web_stack.egg-info/dependency_links.txt +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy_web_stack.egg-info/top_level.txt +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/pyproject.toml +0 -0
- {galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/test-requirements.txt +0 -0
|
@@ -3,17 +3,11 @@ History
|
|
|
3
3
|
|
|
4
4
|
.. to_doc
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
25.
|
|
8
|
-
|
|
6
|
+
---------
|
|
7
|
+
25.1.dev0
|
|
8
|
+
---------
|
|
9
9
|
|
|
10
|
-
No recorded changes since last release
|
|
11
10
|
|
|
12
|
-
-------------------
|
|
13
|
-
25.0.3 (2025-09-23)
|
|
14
|
-
-------------------
|
|
15
|
-
|
|
16
|
-
No recorded changes since last release
|
|
17
11
|
|
|
18
12
|
-------------------
|
|
19
13
|
25.0.2 (2025-08-13)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: galaxy-web-stack
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.1.dev0
|
|
4
4
|
Summary: Galaxy web stack abstraction
|
|
5
5
|
Home-page: https://github.com/galaxyproject/galaxy
|
|
6
6
|
Author: Galaxy Project and Community
|
|
@@ -27,7 +27,7 @@ Description-Content-Type: text/x-rst
|
|
|
27
27
|
License-File: LICENSE
|
|
28
28
|
Requires-Dist: galaxy-data
|
|
29
29
|
Requires-Dist: galaxy-util
|
|
30
|
-
Requires-Dist: SQLAlchemy!=2.0.
|
|
30
|
+
Requires-Dist: SQLAlchemy!=2.0.41,<2.1,>=2.0.37
|
|
31
31
|
Dynamic: license-file
|
|
32
32
|
|
|
33
33
|
|
|
@@ -49,17 +49,11 @@ History
|
|
|
49
49
|
|
|
50
50
|
.. to_doc
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
25.
|
|
54
|
-
|
|
52
|
+
---------
|
|
53
|
+
25.1.dev0
|
|
54
|
+
---------
|
|
55
55
|
|
|
56
|
-
No recorded changes since last release
|
|
57
56
|
|
|
58
|
-
-------------------
|
|
59
|
-
25.0.3 (2025-09-23)
|
|
60
|
-
-------------------
|
|
61
|
-
|
|
62
|
-
No recorded changes since last release
|
|
63
57
|
|
|
64
58
|
-------------------
|
|
65
59
|
25.0.2 (2025-08-13)
|
|
@@ -7,10 +7,7 @@ import sys
|
|
|
7
7
|
import threading
|
|
8
8
|
from typing import (
|
|
9
9
|
Callable,
|
|
10
|
-
FrozenSet,
|
|
11
|
-
List,
|
|
12
10
|
Optional,
|
|
13
|
-
Type,
|
|
14
11
|
)
|
|
15
12
|
|
|
16
13
|
from galaxy.model import database_utils
|
|
@@ -27,8 +24,8 @@ class ApplicationStackLogFilter(logging.Filter):
|
|
|
27
24
|
|
|
28
25
|
class ApplicationStack:
|
|
29
26
|
name: Optional[str] = None
|
|
30
|
-
prohibited_middleware:
|
|
31
|
-
log_filter_class:
|
|
27
|
+
prohibited_middleware: frozenset[str] = frozenset()
|
|
28
|
+
log_filter_class: type[logging.Filter] = ApplicationStackLogFilter
|
|
32
29
|
log_format = "%(name)s %(levelname)s %(asctime)s [pN:%(processName)s,p:%(process)d,tN:%(threadName)s] %(message)s"
|
|
33
30
|
# TODO: this belongs in the pool configuration
|
|
34
31
|
server_name_template = "{server_name}"
|
|
@@ -186,7 +183,7 @@ class WebApplicationStack(ApplicationStack):
|
|
|
186
183
|
class GunicornApplicationStack(ApplicationStack):
|
|
187
184
|
name = "Gunicorn"
|
|
188
185
|
do_post_fork = "--preload" in os.environ.get("GUNICORN_CMD_ARGS", "") or "--preload" in sys.argv
|
|
189
|
-
postfork_functions:
|
|
186
|
+
postfork_functions: list[Callable] = []
|
|
190
187
|
# Will be set to True by external hook
|
|
191
188
|
late_postfork_event = threading.Event()
|
|
192
189
|
late_postfork_thread: threading.Thread
|
|
@@ -277,7 +274,7 @@ class WeblessApplicationStack(ApplicationStack):
|
|
|
277
274
|
return (self.config.server_name,) if self.in_pool(pool_name) else None
|
|
278
275
|
|
|
279
276
|
|
|
280
|
-
def application_stack_class() ->
|
|
277
|
+
def application_stack_class() -> type[ApplicationStack]:
|
|
281
278
|
"""Returns the correct ApplicationStack class for the stack under which
|
|
282
279
|
this Galaxy process is running.
|
|
283
280
|
"""
|
|
@@ -8,7 +8,6 @@ import logging
|
|
|
8
8
|
import os
|
|
9
9
|
import random
|
|
10
10
|
from enum import Enum
|
|
11
|
-
from typing import Tuple
|
|
12
11
|
|
|
13
12
|
from sqlalchemy.orm import object_session
|
|
14
13
|
|
|
@@ -39,7 +38,7 @@ class HandlerAssignmentSkip(Exception):
|
|
|
39
38
|
|
|
40
39
|
class ConfiguresHandlers:
|
|
41
40
|
DEFAULT_HANDLER_TAG = "_default_"
|
|
42
|
-
DEFAULT_BASE_HANDLER_POOLS:
|
|
41
|
+
DEFAULT_BASE_HANDLER_POOLS: tuple[str, ...] = ()
|
|
43
42
|
|
|
44
43
|
def add_handler(self, handler_id, tags):
|
|
45
44
|
if handler_id not in self.handlers:
|
|
@@ -5,7 +5,6 @@ import logging
|
|
|
5
5
|
import types
|
|
6
6
|
from typing import (
|
|
7
7
|
Optional,
|
|
8
|
-
Tuple,
|
|
9
8
|
)
|
|
10
9
|
|
|
11
10
|
log = logging.getLogger(__name__)
|
|
@@ -118,8 +117,8 @@ class ApplicationStackMessage(dict):
|
|
|
118
117
|
|
|
119
118
|
class ParamMessage(ApplicationStackMessage):
|
|
120
119
|
_validate_kwargs = ("params",)
|
|
121
|
-
_validate_params:
|
|
122
|
-
_exclude_params:
|
|
120
|
+
_validate_params: tuple[str, ...] = ()
|
|
121
|
+
_exclude_params: tuple[str, ...] = ()
|
|
123
122
|
|
|
124
123
|
def __init__(self, target=None, params=None, **kwargs):
|
|
125
124
|
super().__init__(target=target)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: galaxy-web-stack
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.1.dev0
|
|
4
4
|
Summary: Galaxy web stack abstraction
|
|
5
5
|
Home-page: https://github.com/galaxyproject/galaxy
|
|
6
6
|
Author: Galaxy Project and Community
|
|
@@ -27,7 +27,7 @@ Description-Content-Type: text/x-rst
|
|
|
27
27
|
License-File: LICENSE
|
|
28
28
|
Requires-Dist: galaxy-data
|
|
29
29
|
Requires-Dist: galaxy-util
|
|
30
|
-
Requires-Dist: SQLAlchemy!=2.0.
|
|
30
|
+
Requires-Dist: SQLAlchemy!=2.0.41,<2.1,>=2.0.37
|
|
31
31
|
Dynamic: license-file
|
|
32
32
|
|
|
33
33
|
|
|
@@ -49,17 +49,11 @@ History
|
|
|
49
49
|
|
|
50
50
|
.. to_doc
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
25.
|
|
54
|
-
|
|
52
|
+
---------
|
|
53
|
+
25.1.dev0
|
|
54
|
+
---------
|
|
55
55
|
|
|
56
|
-
No recorded changes since last release
|
|
57
56
|
|
|
58
|
-
-------------------
|
|
59
|
-
25.0.3 (2025-09-23)
|
|
60
|
-
-------------------
|
|
61
|
-
|
|
62
|
-
No recorded changes since last release
|
|
63
57
|
|
|
64
58
|
-------------------
|
|
65
59
|
25.0.2 (2025-08-13)
|
|
@@ -27,14 +27,14 @@ long_description = file: README.rst, HISTORY.rst
|
|
|
27
27
|
long_description_content_type = text/x-rst
|
|
28
28
|
name = galaxy-web-stack
|
|
29
29
|
url = https://github.com/galaxyproject/galaxy
|
|
30
|
-
version = 25.
|
|
30
|
+
version = 25.1.dev0
|
|
31
31
|
|
|
32
32
|
[options]
|
|
33
33
|
include_package_data = True
|
|
34
34
|
install_requires =
|
|
35
35
|
galaxy-data
|
|
36
36
|
galaxy-util
|
|
37
|
-
SQLAlchemy>=2.0,<2.1,!=2.0.
|
|
37
|
+
SQLAlchemy>=2.0.37,<2.1,!=2.0.41
|
|
38
38
|
packages = find:
|
|
39
39
|
python_requires = >=3.9
|
|
40
40
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy_web_stack.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{galaxy_web_stack-25.0.4 → galaxy_web_stack-25.1.dev0}/galaxy_web_stack.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|