Skip to content

Commit 2a9abf3

Browse files
committed
getting ready for v3.1 and supporting pg18
1 parent 98ed287 commit 2a9abf3

File tree

3 files changed

+24
-29
lines changed

3 files changed

+24
-29
lines changed

CHANGELOG

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
3.1:
2-
- opened up for development
32
- drop support for Postgres versions prior to 14
4-
- confirm support for Python 3.12
5-
- confirm support for pg17
6-
- add prelim support for Python 3.13
7-
- add prelim support for pg18
8-
9-
3+
- add support for Python 3.13
4+
- add support for pg18
105

116
3.0:
127
- drop support for Python 3 versions prior to 3.9

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Multicorn2
44

55
Multicorn Python3 Foreign Data Wrapper (FDW) for Postgresql. Tested on Linux w/ Python 3.9-3.13 & Postgres 14-18.
66

7-
Testing is underway for supporting Python 3.13 and is expected in v3.1. v3.1 is also expected to support pg18.
8-
Newest versions of major linux distro's (Ubuntu 24.04 & EL10) are all still using Python 3.12 so sticking with using 3.12 is advised in the short run.
9-
It's also advised that if you are still using EL9, and it's default Python 3.9, upgrade to using Python 3.12 in a venv because Python 3.9 is already deprecated and will soon be unsupported by this extension.
7+
Our latest release, v3.1, supports thru pg18 (and has some testing against Python 3.13).
8+
Newest versions of major linux distro's (Ubuntu 24.04 & EL10) ship with Python 3.12 so sticking with using 3.12 (instead of 3.13) is advised in the short run.
9+
Python 3.9 is already deprecated by the CPython community and will soon be unsupported by this extension; use 3.10 thru 3.12 instead.
1010

1111
The Multicorn Foreign Data Wrapper allows you to fetch foreign data in Python in your PostgreSQL server.
1212

@@ -57,9 +57,9 @@ source venv/bin/activate
5757
### Download & Compile Postgres 14+ source code
5858
```bash
5959
cd ~
60-
wget https://ftp.postgresql.org/pub/source/v17.0/postgresql-17.0.tar.gz
61-
tar -xvf postgresql-17.0.tar.gz
62-
cd postgresql-17.0
60+
wget https://ftp.postgresql.org/pub/source/v18beta2/postgresql-18beta2.tar.gz
61+
tar -xvf postgresql-18beta2.tar.gz
62+
cd postgresql-18beta2
6363
./configure
6464
make
6565
sudo make install
@@ -68,10 +68,10 @@ sudo make install
6868
### Download & Compile Multicorn2
6969
```bash
7070
set PATH=/usr/local/pgsql/bin:$PATH
71-
cd ~/postgresql-17.0/contrib
72-
wget https://github.com/pgsql-io/multicorn2/archive/refs/tags/v3.0.tar.gz
73-
tar -xvf v3.0.tar.gz
74-
cd multicorn2-3.0
71+
cd ~/postgresql-18beta2/contrib
72+
wget https://github.com/pgsql-io/multicorn2/archive/refs/tags/v3.1beta1.tar.gz
73+
tar -xvf v3.1beta1.tar.gz
74+
cd multicorn2-3.1beta1
7575
make
7676
sudo make install
7777
```
@@ -102,9 +102,9 @@ sudo yum -y install git python3 python3-devel python3-pip
102102

103103
### Download & Compile Multicorn2
104104
```bash
105-
wget https://github.com/pgsql-io/multicorn2/archive/refs/tags/v3.0.tar.gz
106-
tar -xvf v3.0.tar.gz
107-
cd multicorn2-3.0
105+
wget https://github.com/pgsql-io/multicorn2/archive/refs/tags/v3.1beta1.tar.gz
106+
tar -xvf v3.1beta1.tar.gz
107+
cd multicorn2-3.1beta1
108108
make
109109
sudo make install
110110
```
@@ -141,7 +141,7 @@ This can be slow to run when it is first executed (15-30 minutes) due to the nee
141141
To run a faster test suite against a specific version of Python and PostgreSQL, run:
142142

143143
```bash
144-
nix build .#testSuites.test_pg13_py39
144+
nix build .#testSuites.test_pg18_py312
145145
```
146146

147147
### Adding new Python or PostgreSQL versions to the test suite

docker/py39-pg13/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM postgres:13
1+
FROM postgres:14
22
RUN apt-get update && apt-get install -y \
33
build-essential \
44
clang \
5-
libpython3.9-dev \
6-
python3.9-dev \
7-
postgresql-client-13 \
8-
postgresql-server-dev-13 \
5+
libpython3-dev \
6+
python3-dev \
7+
postgresql-client-14 \
8+
postgresql-server-dev-14 \
99
python3-setuptools
1010

11-
ENV PGUSER postgres
12-
ENV PYTHON_OVERRIDE python3.9
13-
ENV LC_ALL C.UTF-8
11+
ENV PGUSER=postgres
12+
ENV PYTHON_OVERRIDE=python3.11
13+
ENV LC_ALL=C.UTF-8

0 commit comments

Comments
 (0)