-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: python 3.11 support This moves pgbelt to python 3.11. Code updates are from pyupgrade --py311-plus and pre-commit linting * deps: update a few more dependencies
- Loading branch information
1 parent
5b0ad00
commit 3c44681
Showing
31 changed files
with
827 additions
and
802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ updates: | |
- package-ecosystem: pip | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
interval: daily |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.9" | ||
python-version: "3.11" | ||
|
||
- name: Upgrade pip | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
.github/* | ||
.github/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# Disclaimers | ||
|
||
## Disclaimer of Warranty | ||
|
||
This Work is provided "as is". Any express or implied warranties, including but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall Autodesk be liable for any direct, indirect, incidental, special, exemplary or consequential damages (including, but not limited to, procurement of substitute goods or services, loss of use, data or profits, or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this Work, even if advised of the possibility of such damage. | ||
|
||
The User of this Work agrees to hold harmless and indemnify Autodesk and its employees from every claim or liability (whether in tort or in contract), including attorneys' fees, court costs, and expenses, arising in direct consequence of Recipient's use of the item, including but not limited to, claims or liabilities made for injury to or death of personnel of User or third parties, damage to or destruction of property of User or third parties, infringement or other violations of intellectual property or technical data rights. | ||
|
||
Nothing in this Work is intended to constitute an endorsement, explicit or implied, by Autodesk of any particular manufacturer's product or service. | ||
|
||
## Disclaimer of Endorsement | ||
|
||
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, in this Work does not constitute an endorsement, recommendation, or favoring by Autodesk and shall not be used for advertising or product endorsement purposes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.9.13-slim | ||
FROM python:3.11-slim | ||
COPY ./ /opt/pgbelt | ||
WORKDIR /opt/pgbelt | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
{ | ||
"db": "<fill-matching-folder-name>", | ||
"dc": "<fill-matching-folder-name>", | ||
"src": { | ||
"host": "<fill>", | ||
"ip": "<fill>", | ||
"db": "<fill>", | ||
"port": "5432", | ||
"root_user": { | ||
"name": "postgres", | ||
"pw": "<fill>" | ||
}, | ||
"owner_user": { | ||
"name": "owner", | ||
"pw": "<fill>" | ||
}, | ||
"pglogical_user": { | ||
"name": "pglogical", | ||
"pw": "<fill-a-random-string>" | ||
}, | ||
"other_users": null | ||
"db": "<fill-matching-folder-name>", | ||
"dc": "<fill-matching-folder-name>", | ||
"src": { | ||
"host": "<fill>", | ||
"ip": "<fill>", | ||
"db": "<fill>", | ||
"port": "5432", | ||
"root_user": { | ||
"name": "postgres", | ||
"pw": "<fill>" | ||
}, | ||
"dst": { | ||
"host": "<fill>", | ||
"ip": "<fill>", | ||
"db": "<fill>", | ||
"port": "5432", | ||
"root_user": { | ||
"name": "postgres", | ||
"pw": "<fill>" | ||
}, | ||
"owner_user": { | ||
"name": "owner", | ||
"pw": "<fill>" | ||
}, | ||
"pglogical_user": { | ||
"name": "pglogical", | ||
"pw": "<fill-a-random-string>" | ||
}, | ||
"other_users": null | ||
"owner_user": { | ||
"name": "owner", | ||
"pw": "<fill>" | ||
}, | ||
"tables": null, | ||
"sequences": null | ||
"pglogical_user": { | ||
"name": "pglogical", | ||
"pw": "<fill-a-random-string>" | ||
}, | ||
"other_users": null | ||
}, | ||
"dst": { | ||
"host": "<fill>", | ||
"ip": "<fill>", | ||
"db": "<fill>", | ||
"port": "5432", | ||
"root_user": { | ||
"name": "postgres", | ||
"pw": "<fill>" | ||
}, | ||
"owner_user": { | ||
"name": "owner", | ||
"pw": "<fill>" | ||
}, | ||
"pglogical_user": { | ||
"name": "pglogical", | ||
"pw": "<fill-a-random-string>" | ||
}, | ||
"other_users": null | ||
}, | ||
"tables": null, | ||
"sequences": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.