Skip to content

Commit 6c1ae56

Browse files
committed
Merge branch 'main' into claude/issue-4408-20250727-1301
2 parents 49b25b0 + 9a8117f commit 6c1ae56

File tree

15 files changed

+63
-74
lines changed

15 files changed

+63
-74
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ aliases:
99
1010
repos:
1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: 'v0.2.1'
12+
rev: 'v0.12.5'
1313
hooks:
1414
- id: ruff
1515
args: [--fix, --exit-non-zero-on-fix]

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nodejs 18.17.1
1+
nodejs 21.7.3
22
terraform 1.3.4
33
python 3.13.5
44
rust 1.61.0

backend/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@ COPY --chown=app:app --from=js-stage ${FUNCTION_DIR}/dist/_astro ${FUNCTION_DIR}
8080
COPY --chown=app:app --from=build-stage ${FUNCTION_DIR}/.venv ${FUNCTION_DIR}/.venv
8181

8282
COPY --chown=app:app . ${FUNCTION_DIR}
83-
84-
USER app
83+
COPY ./entrypoint.sh /entrypoint.sh
8584

8685
RUN mkdir -p assets && .venv/bin/python manage.py collectstatic --noinput
8786

88-
ENTRYPOINT ["/home/app/.venv/bin/gunicorn"]
89-
CMD [ "pycon.wsgi" ]
87+
ENTRYPOINT ["/entrypoint.sh"]

backend/entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
set -e
3+
4+
chown -R app:app /tmp
5+
6+
exec su -p app -c "exec $*"

backend/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ dependencies = [
5151
"certifi==2024.7.4",
5252
"chardet==5.2.0",
5353
"idna==3.7",
54-
"requests==2.32.3",
55-
"urllib3==2.2.2",
54+
"requests==2.32.4",
55+
"urllib3==2.5.0",
5656
"aniso8601==9.0.1",
5757
"whitenoise==6.7.0",
5858
"django-ordered-model==3.5",
5959
"uwsgi==2.0.30",
6060
"django-storages==1.14.4",
61-
"sentry-sdk==2.11.0",
61+
"sentry-sdk>=2.14.0",
6262
"boto3==1.35.76",
6363
"pycountry<20.0,>=19.8",
6464
"countries<1.0.0,>=0.2.0",
@@ -68,8 +68,8 @@ dependencies = [
6868
"django-queryinspect<2.0.0,>=1.1.0",
6969
"lxml==6.0.0",
7070
"unidecode<2.0.0,>=1.1.1",
71-
"strawberry-graphql==0.243.1",
72-
"Werkzeug<2.0.0,>=1.0.1",
71+
"strawberry-graphql==0.257.0",
72+
"Werkzeug>=1.0.1,<4.0.0",
7373
"django-import-export<4.0.0,>=3.2.0",
7474
"dal-admin-filters==1.1.0",
7575
"django-markdownify==0.9.5",

frontend/src/components/blocks/socials-section.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export const SocialsSection = ({ hashtag, label }: Props) => {
2828
hoverColor="green"
2929
socials={[
3030
{
31-
icon: "twitter",
32-
link: "https://twitter.com/pyconit",
31+
icon: "mastodon",
32+
link: "https://social.python.it/@pycon",
3333
rel: "me",
3434
},
3535
{
@@ -48,8 +48,8 @@ export const SocialsSection = ({ hashtag, label }: Props) => {
4848
rel: "me",
4949
},
5050
{
51-
icon: "mastodon",
52-
link: "https://social.python.it/@pycon",
51+
icon: "twitter",
52+
link: "https://twitter.com/pyconit",
5353
rel: "me",
5454
},
5555
]}

frontend/src/components/cfp-form/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ export const CfpForm = ({
289289
participantData.me.participant.website,
290290
);
291291
formState.setField(
292-
"participantTwitterHandle",
293-
participantData.me.participant.twitterHandle,
292+
"participantMastodonHandle",
293+
participantData.me.participant.mastodonHandle,
294294
);
295295
formState.setField(
296296
"participantInstagramHandle",
@@ -305,8 +305,8 @@ export const CfpForm = ({
305305
participantData.me.participant.facebookUrl,
306306
);
307307
formState.setField(
308-
"participantMastodonHandle",
309-
participantData.me.participant.mastodonHandle,
308+
"participantTwitterHandle",
309+
participantData.me.participant.twitterHandle,
310310
);
311311
formState.setField(
312312
"speakerAvailabilities",

frontend/src/components/edit-profile-page-handler/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ const onMyProfileFetched = (data: MyEditProfileQuery, formState) => {
6969
me.participant?.previousTalkVideo ?? "",
7070
);
7171
formState.setField(
72-
"participantTwitterHandle",
73-
me.participant?.twitterHandle ?? "",
72+
"participantMastodonHandle",
73+
me.participant?.mastodonHandle ?? "",
7474
);
7575
formState.setField(
7676
"participantInstagramHandle",
@@ -85,8 +85,8 @@ const onMyProfileFetched = (data: MyEditProfileQuery, formState) => {
8585
me.participant?.facebookUrl ?? "",
8686
);
8787
formState.setField(
88-
"participantMastodonHandle",
89-
me.participant?.mastodonHandle ?? "",
88+
"participantTwitterHandle",
89+
me.participant?.twitterHandle ?? "",
9090
);
9191
};
9292

frontend/src/components/footer/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ export const Footer = () => {
7272
</div>
7373
}
7474
socials={[
75-
{ icon: "twitter", link: "https://twitter.com/pyconit", rel: "me" },
75+
{
76+
icon: "mastodon",
77+
link: "https://social.python.it/@pycon",
78+
rel: "me",
79+
},
7680
{
7781
icon: "facebook",
7882
link: "https://www.facebook.com/pythonitalia",
@@ -88,11 +92,7 @@ export const Footer = () => {
8892
link: "https://www.linkedin.com/company/pycon-italia",
8993
rel: "me",
9094
},
91-
{
92-
icon: "mastodon",
93-
link: "https://social.python.it/@pycon",
94-
rel: "me",
95-
},
95+
{ icon: "twitter", link: "https://twitter.com/pyconit", rel: "me" },
9696
]}
9797
/>
9898
</>

frontend/src/components/grant-form/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ export const GrantForm = ({
220220
participantData.me.participant.website,
221221
);
222222
formState.setField(
223-
"participantTwitterHandle",
224-
participantData.me.participant.twitterHandle,
223+
"participantMastodonHandle",
224+
participantData.me.participant.mastodonHandle,
225225
);
226226
formState.setField(
227227
"participantInstagramHandle",
@@ -236,8 +236,8 @@ export const GrantForm = ({
236236
participantData.me.participant.facebookUrl,
237237
);
238238
formState.setField(
239-
"participantMastodonHandle",
240-
participantData.me.participant.mastodonHandle,
239+
"participantTwitterHandle",
240+
participantData.me.participant.twitterHandle,
241241
);
242242
}
243243
}, []);

0 commit comments

Comments
 (0)