Skip to content

Commit

Permalink
Update to el9
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Jun 26, 2024
1 parent 93cb6d2 commit cba00b9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 15 deletions.
5 changes: 1 addition & 4 deletions portal/api/models/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"""

import dataclasses
from typing import Any, Dict, List, Optional, Union

import flask
from typing_extensions import Literal
from typing import Any, Dict, List, Optional, Union, Literal


@dataclasses.dataclass
Expand Down
6 changes: 0 additions & 6 deletions portal/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@
from portal.website import website_bp
from portal.api import api_bp

from portal.template_filters import contact_us

BLUEPRINTS = [website_bp, api_bp]
CONTEXT_PROCESSORS = []
TEMPLATE_FILTERS = [contact_us]

if os.path.exists("config.py"):
HERE = os.getcwd() + "/"
Expand Down Expand Up @@ -77,9 +74,6 @@ def page_not_found(e):
for cp in CONTEXT_PROCESSORS:
app.context_processor(cp)

for tf in TEMPLATE_FILTERS:
app.add_template_filter(tf)

app.logger.debug("Created!")
return app

Expand Down
28 changes: 23 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
flask
htcondor
cryptography
flask-assets
libsass
certifi==2022.6.15
cffi==1.15.1
charset-normalizer==2.1.0
click==8.1.3
cryptography==37.0.4
Flask==2.1.3
Flask-Assets==2.0
Flask-Cors==3.0.10
idna==3.3
importlib-metadata==4.12.0
itsdangerous==2.1.2
Jinja2==3.1.2
libsass==0.21.0
MarkupSafe==2.1.1
pycparser==2.21
requests==2.28.1
sh==1.14.3
six==1.16.0
typing_extensions==4.3.0
urllib3==1.26.11
webassets==2.0
Werkzeug==2.2.1
zipp==3.8.1

0 comments on commit cba00b9

Please sign in to comment.