File tree Expand file tree Collapse file tree 4 files changed +10
-25
lines changed Expand file tree Collapse file tree 4 files changed +10
-25
lines changed Original file line number Diff line number Diff line change 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" : {
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__"
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" : [
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ Usage: ./docheck command [args]
77
88Available 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
1210EOF
1311}
1412
@@ -17,12 +15,6 @@ if [[ $# = 0 ]] ; then
1715 exit 1
1816fi
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-
2618py3_check () {
2719 local v=$1
2820 docker build -f docker/$v /Dockerfile docker/$v -t pg-test:$v
@@ -33,17 +25,9 @@ py3_check () {
3325cmd=$1
3426shift 1
3527case " ${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
Original file line number Diff line number Diff line change 1- FROM postgres:12
1+ FROM postgres:13
22RUN 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
1111ENV PGUSER postgres
Original file line number Diff line number Diff line change 1+ test-3.9
You can’t perform that action at this time.
0 commit comments