Skip to content

Commit 9a14309

Browse files
committed
wip
1 parent 4db6fff commit 9a14309

File tree

4 files changed

+10
-25
lines changed

4 files changed

+10
-25
lines changed

META.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "multicorn",
33
"abstract": "Multicorn2 Python bindings for Postgres 10+ Foreign Data Wrapper",
4-
"description": "The Multicorn2 Foreign Data Wrapper allows you to write foreign data wrappers in python.",
4+
"description": "The Multicorn2 Foreign Data Wrapper allows you to write extensions in python.",
55
"version": "__VERSION__",
66
"maintainer": "Denis Lussier <[email protected]>",
77
"license": {
@@ -20,7 +20,7 @@
2020
},
2121
"provides": {
2222
"multicorn": {
23-
"abstract": "Multicorn Python bindings for Postgres 10+ Foreign Data Wrapper",
23+
"abstract": "Multicorn Python bindings for Postgres 13+ Foreign Data Wrapper",
2424
"file": "sql/multicorn.sql",
2525
"docfile": "doc/multicorn.md",
2626
"version": "__VERSION__"
@@ -29,16 +29,16 @@
2929
"prereqs": {
3030
"runtime": {
3131
"requires": {
32-
"PostgreSQL": "10.0",
33-
"Python": "3.6.0"
32+
"PostgreSQL": "13.0",
33+
"Python": "3.9.3"
3434
}
3535
}
3636
},
3737

3838
"release_status": "stable",
3939
"generated_by": "Lussier",
4040
"meta-spec": {
41-
"version": "1.0.0",
41+
"version": "3.1",
4242
"url": "http://pgxn.org/meta/spec.txt"
4343
},
4444
"tags": [

docheck

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ Usage: ./docheck command [args]
77
88
Available commands:
99
10-
* py2-9.6: build and test extension in container with postgresql-9.6
11-
* test-in-docker: used internally by other commands
1210
EOF
1311
}
1412

@@ -17,12 +15,6 @@ if [[ $# = 0 ]] ; then
1715
exit 1
1816
fi
1917

20-
py2_check () {
21-
local v=$1
22-
docker build -f docker/$v/Dockerfile docker/$v -t pg-test:$v
23-
docker run -v "${PWD}:/source:ro" pg-test:$v /source/docheck test-in-docker 2.7
24-
}
25-
2618
py3_check () {
2719
local v=$1
2820
docker build -f docker/$v/Dockerfile docker/$v -t pg-test:$v
@@ -33,17 +25,9 @@ py3_check () {
3325
cmd=$1
3426
shift 1
3527
case "${cmd}" in
36-
(py2-9.6) py2_check py2-9.6 ;;
37-
(py3-9.6) py3_check py3-9.6 ;;
38-
(py2-10) py2_check py2-10 ;;
39-
(py3-10) py3_check py3-10 ;;
40-
(py2-11) py2_check py2-11 ;;
4128
(py3-11) py3_check py3-11 ;;
42-
(py2-12) py2_check py2-12 ;;
43-
(py3-12) py3_check py3-12 ;;
29+
(py39-13) py3_check py3-12 ;;
4430
(test-in-docker)
45-
# Actually, we only need only distinguish python-2.7 and python-3.3
46-
# tests.
4731
PY_VERSION=$1
4832
cp -r /source /build
4933
cd /build

docker/py3-12/Dockerfile renamed to docker/py39-pg13/Dockerfile

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

1111
ENV PGUSER postgres

test-3.12

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test-3.9

0 commit comments

Comments
 (0)