Commit graph

537 commits

Author SHA1 Message Date
SomberNight
3c6b049f9a
appimage: update package in dockerfile 2020-06-17 00:33:36 +02:00
SomberNight
121be4cde6
fix typo in prev 2020-06-17 00:22:46 +02:00
SomberNight
f5f3394552
git sanity: enforce "git checkout commithash" actually pulls commit
If there is a collision between a branch name and a commit hash, git
will choose the branch, even if the full 40-hex-long commit hash is
given. GitHub disallows branches/tags with such a name but git itself
does not. By adding the `^{commit}` syntax sugar after a ref name,
we can tell git that we want the commit hash to be preferred,
and hence we don't need to trust GitHub (only git).

see https://security.stackexchange.com/questions/225411/
2020-06-16 19:55:17 +02:00
SomberNight
83cabccdb5
bump libsecp256k1 version 2020-06-15 16:56:36 +02:00
ghost43
9cfb954a72
Merge pull request #6228 from SomberNight/202006_reproducible_targz
make targz sdist reproducible, rm zip
2020-06-13 01:53:08 +00:00
SomberNight
dacc61a41d
sdist build: update message about reproducibility 2020-06-13 03:12:33 +02:00
ThomasV
485422b072 move android stuff to contrib/android 2020-06-12 20:57:22 +02:00
SomberNight
c5c8ea15bb
sdist build: stop making .zip distributables as they are not deterministic
see https://bugs.python.org/issue40963
2020-06-12 19:48:33 +02:00
SomberNight
901a900ec5
sdist build: when building docker image, no interactive prompts!
see https://askubuntu.com/questions/909277/
2020-06-12 19:48:29 +02:00
SomberNight
a06f5da7c2
sdist build: bump base image to ubuntu 20.04 2020-06-12 19:48:26 +02:00
SomberNight
891390f9a1
sdist build: umask should be specified for git clone
(not nice to change umask of host :/)
2020-06-12 19:48:23 +02:00
SomberNight
24a007840f
sdist build: use modern pip
the one in apt refused to install certain package versions (that were pinned by hash!!)
and installed different versions instead... e.g.:

Collecting wheel==0.34.2 (from -r /opt/electrum/contrib/build-linux/sdist/../../../contrib/deterministic-build/requirements.txt (line 112))
  Downloading 521c6dc7fe/wheel-0.34.2.tar.gz (58kB)
    100% |████████████████████████████████| 61kB 3.8MB/s
  Requested wheel==0.34.2 from 521c6dc7fe/wheel-0.34.2.tar.gz (sha256)=8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96 (from -r /opt/electrum/contrib/build-linux/sdist/../../../contrib/deterministic-build/requirements.txt (line 112)), but installing version 0.30.0
2020-06-12 19:48:19 +02:00
SomberNight
e12bc4817a
attempt at reproducible tarballs (sdist) 2020-06-12 19:48:15 +02:00
SomberNight
b0230f6a4b
build: fix win/appimage binaries following jsonrpc dep-removal
follow-up #6220
2020-06-11 05:37:52 +02:00
SomberNight
2dfef9dde6
appimage: update package in dockerfile
Ubuntu no longer serves old version
2020-06-11 02:52:09 +02:00
SomberNight
efe5cd9aff
rerun freeze_packages
neat reduction due to #6220
2020-06-11 02:03:16 +02:00
SomberNight
aa1fb9d5df
win/mac binaries: rm jsonrpc* dependencies 2020-06-09 17:55:16 +02:00
ThomasV
30f5be26ac Remove dependencies: jsonrpcserver, jsonrpcclient 2020-06-09 11:26:39 +02:00
SomberNight
b3abea7d19
requirements: bump min protobuf (follow-up prev) 2020-06-04 20:41:44 +02:00
ghost43
8e12b43b5d
Merge pull request #6199 from benma/bb02
plugins/bitbox02: fix compatibility with bitbox02-3.0.0
2020-06-04 17:43:11 +00:00
SomberNight
d1f860ccf3
dependencies: update max qdarkstyle
Previously we stuck with version 2.6.8 as that had no deps but later
versions introduced several deps. However, now latest version only
has two dependencies (one of which has the same maintainer).
Futher, there are some bugs with 2.6.8 when used with new Qt,
e.g. with dropdowns that I want fixed (which it is in the newer ones).

related https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/182
2020-06-03 18:05:33 +02:00
SomberNight
83d7160b47
rerun freeze_packages 2020-06-03 18:05:30 +02:00
SomberNight
5ec0747eff
contrib/freeze_packages: should not use too new python interpreter
Certain dependencies are only needed on old python versions,
e.g. backports of stdlib functionality.
We should definitely not use newer python when running freeze_packages.sh
than what we bundle in the binaries. Perhaps it is prudent to use the
min python version that we support (which is atm older than what we bundle).
2020-06-03 18:05:26 +02:00
Marko Bencun
b863150fe3
plugins/bitbox02: fix compatibility with bitbox02-3.0.0 2020-06-03 15:35:43 +02:00
Jin Eguchi
6339afee3b
appimage: update openssl (#6186) 2020-05-29 00:30:20 +00:00
SomberNight
7d0703fc4a
fix mac build: follow-up aac770404f 2020-05-14 20:58:54 +02:00
SomberNight
587f8df8ad
binaries: update base docker image for wine/appimage 2020-05-14 20:24:17 +02:00
SomberNight
aac770404f
mac build: pin hashes of more build dependencies
namely pyinstaller
2020-05-14 20:24:14 +02:00
SomberNight
d9b4270035
mac build: bump libusb version 2020-05-14 20:24:11 +02:00
SomberNight
7143e9199f
binaries: bump python version (3.7.6->3.7.7) 2020-05-14 20:24:07 +02:00
SomberNight
55c8216738
binaries: update bundled PyQt version: 5.11.3 -> 5.14.2
Now that we increased the min supported macOS version re #6128 anyway.
Per https://github.com/spesmilo/electrum/issues/3685#issuecomment-508556343,
Qt 5.14 needs at least macOS 10.13
2020-05-14 20:24:03 +02:00
SomberNight
095464b620
mac build: conform to macOS 10.15 Gatekeeper requirements
fixes #6128

some of this is based on:
e1354632d2/scripts/package/macos-notarize-app.sh
1eb8b71e7d
24e44e9784
5abec73eee
2020-05-14 17:09:08 +02:00
ThomasV
594f13b6f7 appimage: update libudev-dev in Dockerfile 2020-05-13 10:55:08 +02:00
SomberNight
250c99d5b2
travis: use other "coveralls" package
see: https://github.com/z4r/python-coveralls/issues/74
2020-05-06 11:42:58 +02:00
Jin Eguchi
1846154ca3
build: update git in dockerfiles (#6107) 2020-04-21 22:48:01 +00:00
SomberNight
c2d6a902dd
build: update some packages in dockerfiles
Ubuntu no longer serves old version
2020-04-15 18:06:59 +02:00
ThomasV
da8b24d61a require aiohttp_socks>=0.3 2020-04-14 09:48:18 +02:00
SomberNight
04dcfe6fd1
bitbox02: add to requirements-hw, and include in win/mac binaries 2020-04-12 15:34:19 +02:00
SomberNight
5f5a1e96ab
bitbox02: add udev rules 2020-04-12 15:34:19 +02:00
SomberNight
e5b1596b69
build: add workaround for "pyinstaller with new setuptools" issue
Traceback (most recent call last):
  File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
  File "c:\python3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
  File "site-packages\pkg_resources\__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[7048] Failed to execute script pyi_rth_pkgres
2020-04-09 22:11:25 +02:00
SomberNight
f11bf1dd4a
rerun freeze_packages 2020-04-06 20:12:14 +02:00
ghost43
4d980cd4bd
Merge pull request #6064 from matejcik/trezor-0.12-passphrase
trezor: bump lib version, implement new passphrase-on-device UI
2020-04-06 17:53:59 +00:00
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050) 2020-04-04 01:40:05 +02:00
matejcik
4cd50dd75a trezor: bump lib version, implement new passphrase-on-device UI 2020-03-31 12:26:48 +02:00
SomberNight
875e6b31b1
make_libsecp256k1.sh: add comment how to cross-compile to Windows
related: #5976, #6054
2020-03-29 07:51:48 +02:00
SomberNight
e5e512df8c
appimage: update package in dockerfile
Ubuntu no longer serves old version
2020-03-10 18:20:46 +01:00
SomberNight
adc97af58c
clear up requirements re pycryptodomex 2020-03-04 20:33:02 +01:00
SomberNight
1ac3a66d49
win binaries: bump python version (3.6.8->3.7.6)
finally possible, after bb94712a14
2020-02-21 19:02:38 +01:00
SomberNight
7f8d667e85
Revert "qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix"
This reverts commit 7f3de8241c.

(can finally undo this due to bb94712a14)
2020-02-21 18:32:58 +01:00
SomberNight
bb94712a14
requirements: bump min archos safet version
related: #5968
2020-02-21 18:23:33 +01:00