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

Upgrade to Python 3.11 #1081

Merged
merged 2 commits into from Dec 17, 2023
Merged

Upgrade to Python 3.11 #1081

merged 2 commits into from Dec 17, 2023

Conversation

saadmk11
Copy link
Member

No description provided.

@saadmk11 saadmk11 self-assigned this Dec 17, 2023
Copy link
Member

@ryancheley ryancheley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. 👍🏻

Copy link
Contributor

@jefftriplett jefftriplett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@jefftriplett jefftriplett merged commit 90ac7a5 into djangopackages:main Dec 17, 2023
3 checks passed
@jefftriplett
Copy link
Contributor

I tried to build this locally and on the deploy server and I'm seeing:

[165.22.184.193] out: #9 27.24       *** uWSGI compiling server core ***
[165.22.184.193] out: #9 27.24       [thread 1][gcc] core/utils.o
[165.22.184.193] out: #9 27.24       [thread 0][gcc] core/protocol.o
[165.22.184.193] out: #9 27.24       In file included from core/protocol.c:1:
[165.22.184.193] out: #9 27.24       ./uwsgi.h:165:10: fatal error: stdio.h: No such file or directory
[165.22.184.193] out: #9 27.24         165 | #include <stdio.h>
[165.22.184.193] out: #9 27.24             |          ^~~~~~~~~
[165.22.184.193] out: #9 27.24       compilation terminated.
[165.22.184.193] out: #9 27.24       In file included from core/utils.c:1:
[165.22.184.193] out: #9 27.24       ./uwsgi.h:165:10: fatal error: stdio.h: No such file or directory
[165.22.184.193] out: #9 27.24         165 | #include <stdio.h>
[165.22.184.193] out: #9 27.24             |          ^~~~~~~~~
[165.22.184.193] out: #9 27.24       compilation terminated.
[165.22.184.193] out: #9 27.24       [end of output]
[165.22.184.193] out: #9 27.24
[165.22.184.193] out: #9 27.24   note: This error originates from a subprocess, and is likely not a problem with pip.
[165.22.184.193] out: #9 27.24   ERROR: Failed building wheel for uwsgi
[165.22.184.193] out: #9 27.24   Running setup.py clean for uwsgi
[165.22.184.193] out: #9 28.12 Successfully built bs4 cloudflare django-secure grapheme paginate sgmllib3k
[165.22.184.193] out: #9 28.12 Failed to build uwsgi
[165.22.184.193] out: #9 28.12 ERROR: Could not build wheels for uwsgi, which is required to install pyproject.toml-based projects
[165.22.184.193] out: #9 ERROR: process "/bin/sh -c pip install -r /requirements.txt" did not complete successfully: exit code: 1
[165.22.184.193] out: ------
[165.22.184.193] out:  > [stage-0  5/15] RUN --mount=type=cache,target=/root/.cache,id=pip     pip install -r /requirements.txt:
[165.22.184.193] out: #9 27.24             |          ^~~~~~~~~
[165.22.184.193] out: #9 27.24       compilation terminated.
[165.22.184.193] out: #9 27.24       [end of output]
[165.22.184.193] out: #9 27.24
[165.22.184.193] out: #9 27.24   note: This error originates from a subprocess, and is likely not a problem with pip.
[165.22.184.193] out: #9 27.24   ERROR: Failed building wheel for uwsgi
[165.22.184.193] out: #9 27.24   Running setup.py clean for uwsgi
[165.22.184.193] out: #9 28.12 Successfully built bs4 cloudflare django-secure grapheme paginate sgmllib3k
[165.22.184.193] out: #9 28.12 Failed to build uwsgi
[165.22.184.193] out: #9 28.12 ERROR: Could not build wheels for uwsgi, which is required to install pyproject.toml-based projects
[165.22.184.193] out: ------
[165.22.184.193] out: failed to solve: process "/bin/sh -c pip install -r /requirements.txt" did not complete successfully: exit code: 1
[165.22.184.193] out:


Fatal error: run() received nonzero return code 17 while executing!

Requested: docker compose -f docker-compose.prod.yml build django-a --parallel --progress plain
Executed: /bin/bash -l -c "cd /code/djangopackages >/dev/null && docker compose -f docker-compose.prod.yml build django-a --parallel --progress plain"

I will create an issue to track this.

@saadmk11 saadmk11 deleted the pyup-3.11 branch December 17, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants