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
2020-12-12 02:52:38 +01:00
SomberNight
4ca2a5cf3e
appimage build: build most of our python dependencies from source
...
instead of using pre-built binary wheels from PyPI
2020-12-09 16:38:03 +01:00
SomberNight
e0917d12f6
rerun freeze_packages
2020-12-09 16:37:59 +01:00
SomberNight
37a124fa1c
appimage: update package in dockerfile
2020-12-09 15:00:42 +01:00
ThomasV
4fdeeb224e
update locale
2020-12-09 14:20:34 +01:00
ThomasV
0e0cb57c73
update locale
2020-12-09 14:19:04 +01:00
SomberNight
2c8ebff965
rerun freeze_packages
2020-12-08 16:53:51 +01:00
SomberNight
5a2d588e8b
dependencies: rm python-ecdsa
2020-12-08 16:38:13 +01:00
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
2020-12-08 16:35:29 +01:00
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`
2020-11-21 19:29:29 +01:00
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.
2020-11-18 20:22:13 +01:00
SomberNight
827f00896c
update locale submodule
2020-11-18 20:19:38 +01:00
SomberNight
59e9337be0
android build: bump targetSdkVersion to 29
...
as Google Play now mandates that as minimum
2020-11-17 16:54:24 +01:00
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
2020-11-14 09:07:46 +01:00
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.
2020-11-14 06:58:56 +01:00
SomberNight
3cd52e2d7b
rerun freeze_packages
2020-11-14 05:21:33 +01:00
SomberNight
168801b7f8
contrib/freeze_packages.sh: trivial clean-up
2020-11-14 05:18:12 +01:00
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
2020-11-14 05:17:24 +01:00
SomberNight
a4e342ac58
requirements: rename some files
2020-11-14 04:30:48 +01:00
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
2020-10-21 03:27:42 +02:00
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
2020-10-15 17:11:33 +02:00
SomberNight
e4e6c4fb1b
update locale submodule
2020-10-15 16:19:14 +02:00
SomberNight
4d0afffbcd
rerun freeze_packages
2020-10-15 15:57:39 +02:00
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.
2020-10-14 20:33:54 +02:00
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
2020-10-13 16:31:53 +00:00
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 )
2020-10-12 15:20:30 +00:00
SomberNight
7afcfe7943
build: update some packages in dockerfiles
...
Ubuntu no longer serves old version
2020-09-23 15:21:29 +02:00
SomberNight
5337331fa0
windows build: some refactor to make building 64 bit binaries easier
...
related: #6598
2020-09-17 17:10:31 +02:00
Jin Eguchi
56f380a62c
appimage: update openssl & libudev-dev ( #6599 )
2020-09-17 14:39:20 +00:00
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
2020-09-15 15:35:57 +00:00
ThomasV
9d2ede8796
fix arg order in sign_version
2020-09-11 18:24:28 +02:00
ThomasV
950ed9a456
sign_packages: upgrade python
2020-09-11 18:07:22 +02:00
ThomasV
413fcfbf9b
update locale submodule
2020-09-11 15:18:03 +02:00
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
2020-09-08 16:44:35 +02:00
SomberNight
829f7c7443
rerun freeze_packages
2020-09-08 16:44:31 +02:00
SomberNight
cb2f92f710
windows binaries: update pyinstaller to 4.0
2020-09-08 16:44:28 +02:00
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9)
2020-09-08 16:44:24 +02:00
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.
2020-09-08 16:44:20 +02:00
SomberNight
1cc8c2c055
binaries: bundle 'cryptography' instead of 'pycryptodomex' in binaries
...
related: #6538
(this allows testing the binaries; to consider whether we can drop pycryptodomex)
2020-09-08 16:43:46 +02:00
wakiyamap
a48c94533f
Change sourceforge URL
2020-08-19 16:22:15 +09:00
SomberNight
995250948a
appimage build: pin glibc version in docker image, for reproducibility
...
fixes #6357
2020-07-08 23:54:54 +02:00
ThomasV
3b5b020941
Merge pull request #6333 from akshayaurora/remove_qdarkstyle
...
remove QDarkStyle from packages before building for android
2020-07-08 08:28:13 +02:00
SomberNight
f1d54d3cd8
update locale submodule
2020-07-08 02:13:44 +02:00
akshauaurora
66fea5de20
exclude qdarkstyle for android build
2020-07-06 20:10:36 +05:30
SomberNight
da4edc8f74
android: fix back button not working (main surface loses focus)
...
fixes #6276
2020-07-03 16:10:36 +02:00
SomberNight
27d03441d3
frozen deps: update bitbox02 and ledger libs
...
related: #6309 , #6293
2020-07-02 13:01:07 +02:00
ghost43
4aed1df0e8
Merge pull request #6293 from btchip/ledger_segwit_trustedinputs
...
Ledger : Remove warning on Segwit inputs and newer Bitcoin application, use generic signing for P2SH inputs
2020-07-02 10:47:32 +00:00
SomberNight
48993118ad
ledger: bump min btchip-python version
...
and minor simplification
2020-07-02 12:45:38 +02:00
SomberNight
6d2aee18d0
dnssec: fix compat with dnspython 1.16
2020-07-02 11:12:38 +02:00
ghost43
db063517ec
Merge pull request #6309 from benma/bitbox02
...
plugins/bitbox02: fix compatibility with bitbox02-4.0.0
2020-07-01 16:49:03 +00:00