Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] contrib/pyln-proto update bitstring #6585

Closed
wants to merge 3 commits into from

Conversation

dni
Copy link

@dni dni commented Aug 18, 2023

update to latest bitstring, type: ignore is not needed anymore.

tests are passing

@rustyrussell
Copy link
Contributor

update to latest bitstring, type: ignore is not needed anymore.

tests are passing

tests are not passing?

@dni
Copy link
Author

dni commented Aug 18, 2023

i just ran tests inside contrib/pyln-proto with poetry run pytest
it is something on how i updated the dependencies.
i think i need to update the poetry.lock file aswell.

@dni
Copy link
Author

dni commented Aug 19, 2023

i think i need some guidance. the purpose was just to bump bitstring :).
i cannot decipher what CI is trying to tell me.

poetry.lock Outdated Show resolved Hide resolved
@dni dni force-pushed the pylnproto-update-deps branch from 2b3d7dd to 0b6345a Compare August 19, 2023 09:18
@dni dni requested a review from vincenzopalazzo August 19, 2023 09:19
@dni dni force-pushed the pylnproto-update-deps branch from 0b6345a to 113f91e Compare August 19, 2023 11:17
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you cherrypick the commit at #6590 this should fix the Ci and be ready to merge the PR

@dni dni force-pushed the pylnproto-update-deps branch from 113f91e to eb55dca Compare August 20, 2023 19:48
vincenzopalazzo and others added 2 commits August 20, 2023 22:09
Signed-off-by: Vincenzo Palazzo <[email protected]>
update to latest bitstring, `type: ignore` is not needed anymore
forgot poetry.lock
run makegen

run make -j8

remove cln-renepay

mako capitalized?
@vincenzopalazzo
Copy link
Contributor

Ok looks liek that in the CI something is broken with the docket compose, there is the following error

23-08-21T08:46:01.9033134Z Downloading zope.event-5.0-py3-none-any.whl (6.8 kB)
2023-08-21T08:46:02.3764162Z Installing collected packages: pytz, json5, bitstring, aniso8601, zope.interface, zope.event, Werkzeug, referencing, python-engineio, Jinja2, gunicorn, greenlet, click, cffi, blinker, bidict, base58, python-socketio, jsonschema-specifications, gevent, Flask, cryptography, coincurve, pyln-proto, jsonschema, gevent-websocket, Flask-SocketIO, pyln-client, flask-restx
2023-08-21T08:46:03.2070682Z   Attempting uninstall: click
2023-08-21T08:46:03.2082916Z     Found existing installation: click 8.1.7
2023-08-21T08:46:03.2119862Z     Uninstalling click-8.1.7:
2023-08-21T08:46:03.2133396Z       Successfully uninstalled click-8.1.7
2023-08-21T08:46:03.3506889Z   Attempting uninstall: blinker
2023-08-21T08:46:03.3519243Z     Found existing installation: blinker 1.4
2023-08-21T08:46:03.3533347Z ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
2023-08-21T08:46:03.7987571Z Cloning into '../bolts'...

try to apply this patch

diff --git a/contrib/docker/scripts/build.sh b/contrib/docker/scripts/build.sh
index c9cb48228..3692dcd3b 100755
--- a/contrib/docker/scripts/build.sh
+++ b/contrib/docker/scripts/build.sh
@@ -23,7 +23,7 @@ export LIGHTNINGD_POSTGRES_NO_VACUUM=1
 pip3 install --upgrade pip
 pip3 install --user poetry
 poetry export --dev --without-hashes -o requirements.txt
-pip3 install -r requirements.txt
+pip3 install --ignore-installed -r requirements.txt
 pip3 install -r plugins/clnrest/requirements.txt
 
 git clone https://github.com/lightning/bolts.git ../bolts

vincenzopalazzo added a commit to vincenzopalazzo/lightning that referenced this pull request Aug 24, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Signed-off-by: Vincenzo Palazzo <[email protected]>
vincenzopalazzo added a commit to vincenzopalazzo/lightning that referenced this pull request Aug 24, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Signed-off-by: Vincenzo Palazzo <[email protected]>
vincenzopalazzo added a commit to vincenzopalazzo/lightning that referenced this pull request Aug 24, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Co-Developed-by: @dni
Chanegelog-None
Signed-off-by: Vincenzo Palazzo <[email protected]>
vincenzopalazzo added a commit to vincenzopalazzo/lightning that referenced this pull request Aug 24, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Co-Developed-by: @dni
Chanegelog-None
Signed-off-by: Vincenzo Palazzo <[email protected]>
@vincenzopalazzo
Copy link
Contributor

OK while fightling with poetry a little bit I think this patch #6607 will introduce the feature that you need.

Waiting of the CI completion

vincenzopalazzo added a commit to vincenzopalazzo/lightning that referenced this pull request Aug 29, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Co-Developed-by: @dni
Chanegelog-None
Signed-off-by: Vincenzo Palazzo <[email protected]>
nepet pushed a commit to vincenzopalazzo/lightning that referenced this pull request Oct 23, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] ElementsProject#6585

Co-Developed-by: @dni
Chanegelog-None
Signed-off-by: Vincenzo Palazzo <[email protected]>
rustyrussell pushed a commit that referenced this pull request Oct 24, 2023
This is an alternative version to [1] that
update only the necessary information around our codebase
to upgrade the bitstring package.

This upgrade is necessary for the user of our package that
will find conflics in their codebase about packages version.

[1] #6585

Co-Developed-by: @dni
Chanegelog-None
Signed-off-by: Vincenzo Palazzo <[email protected]>
@dni dni closed this Oct 25, 2023
@dni dni deleted the pylnproto-update-deps branch October 25, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants