| From: | Yogesh Sharma <yogesh(dot)sharma(at)catprosystems(dot)com> |
|---|---|
| To: | Magnus Hagander <magnus(at)hagander(dot)net> |
| Cc: | PostgreSQL WWW Mailing List <pgsql-www(at)postgresql(dot)org> |
| Subject: | Re: Containerized development environment for pgweb |
| Date: | 2024-06-27 15:26:10 |
| Message-ID: | d692af88-41a1-4b00-a4cf-50e139f6e645@catprosystems.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
On 6/27/24 09:34, Magnus Hagander wrote:
>
> > It also is on python 3.7 which should be 3.9 to match what's
> deployed.
> > In general, I'd recommend starting off the debian bullseye
> container
> > instead of the python specific one -- that's what's used in the
> > production deployments, so it makes sense to keep to the same.
> > That way it could also be using the same versions of the debian
> > packages for all requirements (basically everything except Django
> > itself), to ensure it's exactly the same.
> >
> > //Magnus
>
> Which Debian release is used by PG infrastructure?
>
>
> Currently, bullseye.
When using python 3.9 PyYAML 3.13 (requirements.txt) fails to compile.
---
ext/_yaml.c: In function ‘__Pyx_modinit_type_init_code’:
ext/_yaml.c:25698:25: error: ‘PyTypeObject’ {aka ‘struct
_typeobject’} has no member named ‘tp_print’
25698 | __pyx_type_5_yaml_Mark.tp_print = 0;
| ^
ext/_yaml.c:25718:28: error: ‘PyTypeObject’ {aka ‘struct
_typeobject’} has no member named ‘tp_print’
25718 | __pyx_type_5_yaml_CParser.tp_print = 0;
| ^
ext/_yaml.c:25732:29: error: ‘PyTypeObject’ {aka ‘struct
_typeobject’} has no member named ‘tp_print’
25732 | __pyx_type_5_yaml_CEmitter.tp_print = 0;
| ^
---
I assume, PyYAML was updated on system but not requirements.txt.
Possible to verify following package versions from the PG Infra server?
psycopg2==2.8.5
pycryptodomex>=3.4.7,<3.5
Markdown==3.0.1
requests-oauthlib==1.0.0
cvss==2.2
pytidylib==0.3.2
pycodestyle==2.4.0
pynliner==0.8.0
Babel==2.6.0
bleach==3.1.4
PyYAML==3.13
--
Kind Regards,
Yogesh Sharma
PostgreSQL, Linux, and Networking Expert
Open Source Enthusiast and Advocate
PostgreSQL Contributors Team @ RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jonathan S. Katz | 2024-06-27 18:40:27 | Re: Doubt regarding Postgres Documentation on FTP Server from v17 onward |
| Previous Message | Akshat Jaimini | 2024-06-27 15:22:42 | Doubt regarding Postgres Documentation on FTP Server from v17 onward |