diff --git a/python/lindorm/publish.yaml b/python/lindorm/publish.yaml index d522eb8..b256320 100644 --- a/python/lindorm/publish.yaml +++ b/python/lindorm/publish.yaml @@ -1,6 +1,6 @@ Type: Application Name: start-fc-lindorm-python -Version: 0.0.5 +Version: 0.0.6 Provider: - 阿里云 Description: 快速部署一个 Python 访问 lindorm 的函数到阿里云函数计算。 diff --git a/python/lindorm/src/code/requirements.txt b/python/lindorm/src/code/requirements.txt index a94062d..283d7b6 100644 --- a/python/lindorm/src/code/requirements.txt +++ b/python/lindorm/src/code/requirements.txt @@ -1 +1 @@ -cassandra-driver \ No newline at end of file +cassandra-driver==3.25.0 \ No newline at end of file diff --git a/python/mongodb/publish.yaml b/python/mongodb/publish.yaml index 6fa926c..41d660d 100644 --- a/python/mongodb/publish.yaml +++ b/python/mongodb/publish.yaml @@ -1,6 +1,6 @@ Type: Application Name: start-fc-mongodb-python -Version: 0.0.5 +Version: 0.0.6 Provider: - 阿里云 Description: 快速部署一个 Python 访问 mongodb 的函数到阿里云函数计算。 diff --git a/python/mongodb/src/code/requirements.txt b/python/mongodb/src/code/requirements.txt index 8c7d698..659073f 100644 --- a/python/mongodb/src/code/requirements.txt +++ b/python/mongodb/src/code/requirements.txt @@ -1 +1 @@ -pymongo \ No newline at end of file +pymongo==4.2.0 \ No newline at end of file diff --git a/python/mongodb/src/s.yaml b/python/mongodb/src/s.yaml index 945ab24..825f49e 100644 --- a/python/mongodb/src/s.yaml +++ b/python/mongodb/src/s.yaml @@ -28,7 +28,7 @@ services: function: name: mongodb description: visit mongodb - runtime: python3 + runtime: python3.9 codeUri: ./code handler: index.handler memorySize: 256 diff --git a/python/mysql/publish.yaml b/python/mysql/publish.yaml index ba0fcec..43f5799 100644 --- a/python/mysql/publish.yaml +++ b/python/mysql/publish.yaml @@ -1,6 +1,6 @@ Type: Application Name: start-fc-mysql-python -Version: 0.0.5 +Version: 0.0.6 Provider: - 阿里云 Description: 快速部署一个 Python 访问 mysql 的函数到阿里云函数计算。 diff --git a/python/mysql/src/code/requirements.txt b/python/mysql/src/code/requirements.txt index 1b19841..cdcefb7 100644 --- a/python/mysql/src/code/requirements.txt +++ b/python/mysql/src/code/requirements.txt @@ -1 +1 @@ -PyMySQL \ No newline at end of file +PyMySQL==1.0.2 \ No newline at end of file diff --git a/python/mysql/src/s.yaml b/python/mysql/src/s.yaml index 87a3c31..3934cb5 100644 --- a/python/mysql/src/s.yaml +++ b/python/mysql/src/s.yaml @@ -29,7 +29,7 @@ services: function: name: mysql description: visit mysql - runtime: python3 + runtime: python3.9 codeUri: ./code handler: index.handler memorySize: 256 diff --git a/python/postgresql/publish.yaml b/python/postgresql/publish.yaml index ed64e40..aac576b 100644 --- a/python/postgresql/publish.yaml +++ b/python/postgresql/publish.yaml @@ -1,6 +1,6 @@ Type: Application Name: start-fc-postgresql-python -Version: 0.0.5 +Version: 0.0.6 Provider: - 阿里云 Description: 快速部署一个 Python 访问 postgresql 的函数到阿里云函数计算。 diff --git a/python/postgresql/src/code/requirements.txt b/python/postgresql/src/code/requirements.txt index ddb37e1..7805abe 100644 --- a/python/postgresql/src/code/requirements.txt +++ b/python/postgresql/src/code/requirements.txt @@ -1 +1 @@ -psycopg2 \ No newline at end of file +psycopg2==3.0.16 \ No newline at end of file diff --git a/python/postgresql/src/s.yaml b/python/postgresql/src/s.yaml index 6583b36..0718ee8 100644 --- a/python/postgresql/src/s.yaml +++ b/python/postgresql/src/s.yaml @@ -29,7 +29,7 @@ services: function: name: postgresql description: visit postgresql - runtime: python3 + runtime: python3.9 codeUri: ./code handler: index.handler memorySize: 256 diff --git a/python/redis/publish.yaml b/python/redis/publish.yaml index d2814cb..994ae05 100644 --- a/python/redis/publish.yaml +++ b/python/redis/publish.yaml @@ -1,6 +1,6 @@ Type: Application Name: start-fc-redis-python -Version: 0.0.5 +Version: 0.0.6 Provider: - 阿里云 Description: 快速部署一个 Python 访问 redis 的函数到阿里云函数计算。 diff --git a/python/redis/src/code/requirements.txt b/python/redis/src/code/requirements.txt index 74b362f..88e7829 100644 --- a/python/redis/src/code/requirements.txt +++ b/python/redis/src/code/requirements.txt @@ -1 +1 @@ -redis \ No newline at end of file +redis==4.3.4 \ No newline at end of file diff --git a/python/redis/src/s.yaml b/python/redis/src/s.yaml index 2dca5fb..b28cf99 100644 --- a/python/redis/src/s.yaml +++ b/python/redis/src/s.yaml @@ -29,7 +29,7 @@ services: function: name: redis description: visit redis - runtime: python3 + runtime: python3.9 codeUri: ./code handler: index.handler memorySize: 256 diff --git a/python/sql_server/publish.yaml b/python/sql_server/publish.yaml index 2398034..e3e5a4a 100644 --- a/python/sql_server/publish.yaml +++ b/python/sql_server/publish.yaml @@ -1,6 +1,6 @@ Type: Application Name: start-fc-sql-server-python -Version: 0.0.5 +Version: 0.0.6 Provider: - 阿里云 Description: 快速部署一个 Python 访问 sql-server 的函数到阿里云函数计算。 diff --git a/python/sql_server/src/code/requirements.txt b/python/sql_server/src/code/requirements.txt index 0c8c84d..50e3883 100644 --- a/python/sql_server/src/code/requirements.txt +++ b/python/sql_server/src/code/requirements.txt @@ -1 +1 @@ -pymssql \ No newline at end of file +pymssql==2.2.5 \ No newline at end of file diff --git a/python/sql_server/src/s.yaml b/python/sql_server/src/s.yaml index 836a789..09c08b4 100644 --- a/python/sql_server/src/s.yaml +++ b/python/sql_server/src/s.yaml @@ -29,7 +29,7 @@ services: function: name: sql_server description: visit sql server - runtime: python3 + runtime: python3.9 codeUri: ./code handler: index.handler memorySize: 256