-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Upgrade to python 3.10 (#1688)
* changed class name * Working requirements.in * Reordered lines to see changes better * Working minimal upgrades * Added hashes * - Upgraded python to 3.10 and bitcoin to v23.0 - Added libzmq to build process, to enable future use cases such as #778 - added --without-gui to remove configure warning that gui will not be built. * Added line-break * - Updated the embit version to 0.4.13 - pushed python-bitcoind image * - Build registry.gitlab.com/c8527/specter/cirrus-jammy:20220504 - updated docker references * - added cypress-base-ubuntu-jammy * - added cypress-python * - fixed unchanged registry path * Fixed wrong path * readme change * Fixed path * Changed github-changelog * changes registrar links * Fixed bitcoin version * Set reset bitcoin version to 22 * Set bitcoin version to 22.0 * Fixed black issue via psf/black#2964 (comment) * Revert for changelog * Upgraded pytest because otherwise I get the error pytest-dev/pytest#9195 * Added temporary fix for upgraded hwi version. Should be fixed in #1693 * more verbosity for page generation * doc about python 3.10 * docs: update TOC * yet another library necessary * black * Corrected tag * Fixed wrong python version introduced in the merge commit * Use same babel version across requirements and test_requirements * Created the reuqirements.txt with python 3.8 such, that that netlify can create the python docs in python 3.8, while everything elese works also with python 3.10 * testing https://peps.python.org/pep-0508/#environment-markers * CHanged just the txt * Added comments * electron docker build successful * rename image to cypress-python:v9.7.0 * doc * docker file rename * fix pyinstaller pip error by changing requirements.in * reference jammy electron dockerfile See electron-userland/electron-builder#6922 (comment) * updated all references to dockerimages * fix release-build * fix the image-version to something else than latest. pin all the stuff! * revert to old image to avoid glibc issues Co-authored-by: Kim Neunert <[email protected]> Co-authored-by: k9ert <[email protected]>
- Loading branch information
1 parent
c528e90
commit a8f1b80
Showing
24 changed files
with
605 additions
and
296 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
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ repos: | |
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
language_version: python3.8 | ||
language_version: python3.10 |
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
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
6 changes: 3 additions & 3 deletions
6
docker/cypress-base-ubuntu-focal/README.md → docker/cypress-base-ubuntu-jammy/README.md
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
11 changes: 7 additions & 4 deletions
11
docker/cypress-python/Dockerfile → docker/cypress-python-jammy/Dockerfile
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
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 |
---|---|---|
|
@@ -15,4 +15,4 @@ RUN python3 setup.py install | |
|
||
ENV PYTHONUNBUFFERED="1" | ||
|
||
ENTRYPOINT ["changelog"] | ||
ENTRYPOINT ["changelog"] |
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,22 +1,20 @@ | ||
This Dockerimage is manually created and uploaded: | ||
|
||
``` | ||
docker build -t registry.gitlab.com/cryptoadvance/specter-desktop/python-bitcoind:v0.20.1 . | ||
docker build . -t registry.gitlab.com/cryptoadvance/specter-desktop/python-bitcoind:v22.0 | ||
docker push registry.gitlab.com/cryptoadvance/specter-desktop/python-bitcoind:v22.0 | ||
``` | ||
``` | ||
docker push registry.gitlab.com/cryptoadvance/specter-desktop/python-bitcoind:v0.20.1 | ||
``` | ||
Here the version is v0.20.1 but that's just an example. This folder just explains how the image is created. Which image is USED is specified: | ||
Here the version is v23.0 but that's just an example. This folder just explains how the image is created. Which image is USED is specified: | ||
|
||
* In the case of tests in pytest.ini in the addopts-line (MIGHT be different in different branches) | ||
* in the case of running | ||
|
||
``` | ||
python3 -m cryptoadvance.specter bitcoind #it's using "latest" | ||
``` | ||
``` | ||
|
||
but you can override like this: | ||
|
||
``` | ||
python3 -m cryptoadvance.specter bitcoind --docker-tag v0.19.1 | ||
``` | ||
python3 -m cryptoadvance.specter bitcoind --docker-tag v22.0 | ||
``` |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ pyinstaller==5.2 | |
pefile==2022.5.30 | ||
macholib | ||
pywin32-ctypes | ||
babel | ||
babel==2.10.1 | ||
pytz==2022.1 |
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
Oops, something went wrong.