- Notifications
You must be signed in to change notification settings - Fork328
2.7.12#1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
2.7.12#1107
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,7 +4,7 @@ on: | ||
workflow_dispatch: | ||
inputs: | ||
packageVersion: | ||
default: "2.7.12" | ||
jobs: | ||
# | ||
# PostgresML extension. | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,7 +4,7 @@ on: | ||
workflow_dispatch: | ||
inputs: | ||
packageVersion: | ||
default: "2.7.12" | ||
jobs: | ||
postgresml-python: | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -7,7 +7,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
deb_dir="/tmp/postgresml-python/deb-build" | ||
major=${1:-"14"} | ||
export PACKAGE_VERSION=${1:-"2.7.12"} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. You don't need to release a new version of this package unless you've changed python deps since the last version. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. It seems like a nice convenience for end users, if all package versions for the project align. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. That's not how this works or why we split the python deps into their own package. This allows for us to upgrade the extension much quicker without having to download and install gigabytes of dependencies. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. That split is causing issues with consistent updates. Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. We have infrastructure in place to manage that. It wasn't used, which caused the issue with consistent updates. We can make it mandatory by bundling everything into the same package, but we've done that previously and it was pretty inefficient for rolling updates. An action item on my side is to document the current infrastructure and provide guidebooks on how to upgrade and release these packages. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. As I wrote the docs I remembered a couple more reasons why I split those packages and I'm pretty confident in my decision now. On the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Having code that implements the procedure seems like the next step after a manual procedure is documented. | ||
export PYTHON_VERSION=${2:-"3.10"} | ||
if [[ $(arch) == "x86_64" ]]; then | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -127,7 +127,7 @@ SELECT pgml.version(); | ||
postgres=# select pgml.version(); | ||
version | ||
------------------- | ||
2.7.12 | ||
(1 row) | ||
``` | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -135,7 +135,7 @@ CREATE EXTENSION | ||
pgml_test=# SELECT pgml.version(); | ||
version | ||
--------- | ||
2.7.12 | ||
(1 row) | ||
``` | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -115,6 +115,6 @@ Type "help" for help. | ||
postgresml=> SELECT pgml.version(); | ||
version | ||
--------- | ||
2.7.12 | ||
(1 row) | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -126,7 +126,7 @@ SELECT pgml.version(); | ||
postgres=# select pgml.version(); | ||
version | ||
------------------- | ||
2.7.12 | ||
(1 row) | ||
``` | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -133,7 +133,7 @@ CREATE EXTENSION | ||
pgml_test=# SELECT pgml.version(); | ||
version | ||
--------- | ||
2.7.12 | ||
(1 row) | ||
``` | ||
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "pgml" | ||
version = "2.7.12" | ||
edition = "2021" | ||
[lib] | ||