SomberNight
56d347a93b
windows binaries: update pyinstaller to 4.1
4 years ago
SomberNight
19f806ddf4
build: don't allow setuptools to sneakily install build-time deps
see https://pip.pypa.io/en/stable/reference/pip_install/#controlling-setup-requires
> Setuptools offers the setup_requires setup() keyword for specifying
> dependencies that need to be present in order for the setup.py
> script to run. Internally, Setuptools uses easy_install to
> fulfill these dependencies.
> pip has no way to control how these dependencies are located.
> None of the package index options have an effect.
With these changes, we will now instead hard fail if this were to happen.
related: https://github.com/spesmilo/electrum/issues/5859#issuecomment-743621898
4 years ago
SomberNight
4ca2a5cf3e
appimage build: build most of our python dependencies from source
instead of using pre-built binary wheels from PyPI
4 years ago
SomberNight
e0917d12f6
rerun freeze_packages
4 years ago
SomberNight
37a124fa1c
appimage: update package in dockerfile
4 years ago
ThomasV
4fdeeb224e
update locale
4 years ago
ThomasV
0e0cb57c73
update locale
4 years ago
SomberNight
2c8ebff965
rerun freeze_packages
4 years ago
SomberNight
5a2d588e8b
dependencies: rm python-ecdsa
4 years ago
SomberNight
14372e0a94
dependencies: support and require dnspython 2.0, rm monkey patches
- dnspython 2.0 requires cryptography 2.6 so we now always require that
(no longer a choice between cryptography and pycryptodomex)
- test_dnssec.py is deleted as it was testing the monkey-patch
related: #6538
4 years ago
SomberNight
756d2eb004
mac build: call `git describe` after `git submodule update`
otherwise it could be that `git describe` will say "dirty" but the binary
will not actually be dirty as it just needed `git submodule update`
4 years ago
SomberNight
6f105ae43b
android build: bump targetSdkVersion to 29 (follow-up)
follow-up: 59e9337be0
For some reason, without this change, the first build works but subsequent builds fail.
Not sure what the cause is. This is why Travis builds work.
4 years ago
SomberNight
827f00896c
update locale submodule
4 years ago
SomberNight
59e9337be0
android build: bump targetSdkVersion to 29
as Google Play now mandates that as minimum
4 years ago
SomberNight
8c1c07a290
build: partially revert 3cd52e2d7b
new versions of yarl and multidict break the windows build as they
don't provide win32 wheels
see
https://github.com/aio-libs/multidict/issues/550
https://github.com/aio-libs/yarl/issues/535
4 years ago
SomberNight
7ac968b406
mac build: use a virtualenv instead of global python packages
This helps to avoid older versions of pip-installed dependencies interfering with the build.
4 years ago
SomberNight
3cd52e2d7b
rerun freeze_packages
4 years ago
SomberNight
168801b7f8
contrib/freeze_packages.sh: trivial clean-up
4 years ago
SomberNight
77f75f102b
mac build: bundle old PyQt5 so that .app runs on macOS 11 "Big Sur"
This is the time of the year Apple breaks our mac builds, as usual.
mac now has its own "binaries" requirements. This allows us to use
an older version of PyQt5 in the mac binaries. For some reason
if we bundle newer PyQt5, the built app will not start on macOS 11
(but will on older macOS).
related: #6461
in particular, see https://github.com/spesmilo/electrum/issues/6461#issuecomment-713888921
4 years ago
SomberNight
a4e342ac58
requirements: rename some files
4 years ago
SomberNight
21e46fb147
contrib: add instructions re cross-compiling libsecp to Linux x86
related: #6669
(note that instructions assume this commit as otherwise AUTOCONF_FLAGS is overwritten!)
based on https://stackoverflow.com/a/17748092
4 years ago
SomberNight
695ad757c7
frozen deps: don't use colorama 0.4.4
until https://github.com/tartley/colorama/issues/284 is resolved
colorama 0.4.4 does not have a source dist uploaded to PyPI, which breaks contrib/make_packages
this partially reverts 4d0afffbcd
4 years ago
SomberNight
e4e6c4fb1b
update locale submodule
4 years ago
SomberNight
4d0afffbcd
rerun freeze_packages
4 years ago
Marko Bencun
2c0ae4abdd
contrib/requirements/requirements-hw.txt: bump bitbox02 dep to 5.0.0
Adds the api functions to sign a message and use p2wsh-p2sh legacy
segwit multisig.
4 years ago
ghost43
da4f11dbd3
android build: update list of apt deps for buildozer ( #6645 )
compare https://github.com/kivy/buildozer/blob/0.39/docs/source/installation.rst
and https://github.com/kivy/buildozer/blob/1.2.0/docs/source/installation.rst
4 years ago
ghost43
653a24a49b
windows build: for the "setup" exe, put another "-debug" exe inside ( #6603 )
The "setup" Windows binary we distribute allows users to "install" Electrum
on their system. The distributable is created by NSIS. During
installation a bunch of files will get unpacked in %programfiles(x86)%/Electrum,
including an "inner" exe that will be the entrypoint for the user to start
the application. A shortcut is also created for the inner exe.
With this change, there will now be two inner EXEs. One the same as before,
the other with a "-debug" suffix in its name. The debug exe is built as a
"console" application (as opposed to a "windowed" application), so when
launched via double-click a black console window would appear; and also
importantly stdin/stdout are handled properly for it (unlike for "windowed"
programs). (see #2592 )
There will not be a shortcut or similar for the debug exe; it would just
be there as a debugging option we can instruct users to use when needed.
In particular early crashes during startup are hard to debug without
stdout/stderr. (see e.g. #6601 )
4 years ago
SomberNight
7afcfe7943
build: update some packages in dockerfiles
Ubuntu no longer serves old version
4 years ago
SomberNight
5337331fa0
windows build: some refactor to make building 64 bit binaries easier
related: #6598
4 years ago
Jin Eguchi
56f380a62c
appimage: update openssl & libudev-dev ( #6599 )
4 years ago
ghost43
fc89c8ffa9
win binary: build zbar ourselves ( #6593 )
This allows bundling much newer zbar that includes many fixes.
related: #6018
This is largely based on
https://github.com/Electron-Cash/Electron-Cash/pull/1362
https://github.com/Electron-Cash/Electron-Cash/pull/1363
https://github.com/Electron-Cash/Electron-Cash/pull/1365
eda015908e
4 years ago
ThomasV
9d2ede8796
fix arg order in sign_version
4 years ago
ThomasV
950ed9a456
sign_packages: upgrade python
4 years ago
ThomasV
413fcfbf9b
update locale submodule
4 years ago
SomberNight
9204102663
binaries: pip install build requirements first
I no longer trust pip to install packages from a requirements.txt file in the correct order.
For reproducibility, let's install pip/setuptools/wheels/cython first.
see https://github.com/pypa/pip/issues/2362#issuecomment-418423458
see #5859 and #6382
4 years ago
SomberNight
829f7c7443
rerun freeze_packages
4 years ago
SomberNight
cb2f92f710
windows binaries: update pyinstaller to 4.0
4 years ago
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9)
4 years ago
SomberNight
7e534f4865
dependencies: rm pyaes from requirements
Since #6014 , pyaes is not really needed anymore.
As we currently require either one of pycryptodomex or cryptography,
even if pyaes is available, it will not be used.
We could strip it out completely from crypto.py...
In any case, pyaes is still pulled in by some hw wallet dependencies indirectly;
but the core library no longer depends on it.
4 years ago
SomberNight
1cc8c2c055
binaries: bundle 'cryptography' instead of 'pycryptodomex' in binaries
related: #6538
(this allows testing the binaries; to consider whether we can drop pycryptodomex)
4 years ago
wakiyamap
a48c94533f
Change sourceforge URL
4 years ago
SomberNight
995250948a
appimage build: pin glibc version in docker image, for reproducibility
fixes #6357
5 years ago
SomberNight
f1d54d3cd8
update locale submodule
5 years ago
akshauaurora
66fea5de20
exclude qdarkstyle for android build
5 years ago
SomberNight
da4edc8f74
android: fix back button not working (main surface loses focus)
fixes #6276
5 years ago
SomberNight
27d03441d3
frozen deps: update bitbox02 and ledger libs
related: #6309 , #6293
5 years ago
SomberNight
48993118ad
ledger: bump min btchip-python version
and minor simplification
5 years ago
SomberNight
6d2aee18d0
dnssec: fix compat with dnspython 1.16
5 years ago
Marko Bencun
b1e756ac96
plugins/bitbox02: fix compatibility with bitbox02-4.0.0
5 years ago
SomberNight
528c8c674c
android build: update p4a, buildozer, base ubuntu
also, pull in upstream p4a dockerfile changes
https://github.com/kivy/python-for-android/pull/2231
https://github.com/kivy/python-for-android/pull/2218
5 years ago