Commit Graph

154 Commits

Author SHA1 Message Date
SomberNight d9b55ae5c8 build: relax dnspython version bound
The <2.1 pin had been put there as dnspython 2.1 added "poetry" as a build time dep,
which pulled in a significant number of transitive dependencies, and it was also
causing issues with our appimage build.

dnspython 2.2.0 was released since, which no longer needs full poetry, only "poetry-core":
https://github.com/rthalley/dnspython/commit/da279dec7e8121c4ff6fc1ea166570888a2bb988

related https://github.com/spesmilo/electrum/issues/7361
2022-01-20 15:09:08 +01:00
SomberNight 1705c1999a build: rm "dataclasses" from pinned requirements-hw.txt
trezorlib requires "dataclasses ; python_version<'3.7'", and our min supported python version is 3.6,
so freeze_packages.sh pins down a version of "dataclasses". However, when creating binaries we
use newer versions of python (typically py3.9 atm), for which dataclasses is not available (it's a backport of py3.7 stuff).
Hmhm, what to do... short-term, I am manually removing the dataclasses pin, so it won't be installed in our binaries.

```
Collecting construct==2.10.67
  Downloading construct-2.10.67.tar.gz (57 kB)
     |████████████████████████████████| 57 kB 2.7 MB/s
  Preparing metadata (setup.py) ... done
Requirement already satisfied: cryptography==36.0.1 in ./build/appimage/electrum.AppDir/usr/lib/python3.9/site-packages (from -r /opt/electrum/contrib/build-linux/appimage/../../../contrib/deterministic-build/requirements-hw.txt (line 74)) (36.0.1)
ERROR: Could not find a version that satisfies the requirement dataclasses==0.8 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6)
ERROR: No matching distribution found for dataclasses==0.8
```
2022-01-20 15:09:04 +01:00
SomberNight 6421ff015d rerun freeze_packages 2022-01-20 14:11:54 +01:00
SomberNight 6a0d7dfd48 rerun freeze_packages 2021-11-02 18:38:13 +01:00
ThomasV d8d2c180aa update locale 2021-07-19 17:35:40 +02:00
SomberNight 81a71ec09b update locale; again :P
c2c845a82d accidentally undid the previous update
2021-06-16 20:28:00 +02:00
ThomasV c2c845a82d follow-up 8ff49fa9bb 2021-06-16 17:14:06 +02:00
SomberNight 60debf9116 update locale 2021-06-16 16:59:44 +02:00
SomberNight 3c9346cce2 android build: attempt at reproducible builds 2021-06-09 18:34:09 +02:00
SomberNight 1dfa81e7b6 contrib: fix find_restricted_dependencies for deps with version range
New release of pyinstaller (4.3) broke the script (which is used by freeze_packages.sh).

-----

Compare:

$ wget https://pypi.org/pypi/pyinstaller/4.3/json
$ cat json | jq ".info.requires_dist"
[
  "setuptools",
  "altgraph",
  "pyinstaller-hooks-contrib (>=2020.6)",
  "importlib-metadata ; python_version < \"3.8\"",
  "macholib (>=1.8) ; sys_platform == \"darwin\"",
  "pefile (>=2017.8.1) ; sys_platform == \"win32\"",
  "pywin32-ctypes (>=0.2.0) ; sys_platform == \"win32\"",
  "tinyaes (>=1.0.0) ; extra == 'encryption'",
  "pytest (>=2.7.3) ; extra == 'hook_testing'",
  "execnet (>=1.5.0) ; extra == 'hook_testing'",
  "psutil ; extra == 'hook_testing'"
]

$ wget https://pypi.org/pypi/pyinstaller/4.2/json | jq .
$ cat json | jq ".info.requires_dist"
null

$ wget https://pypi.org/pypi/qrcode/6.1/json
$ cat json | jq ".info.requires_dist"
[
  "six",
  "colorama ; platform_system == \"Windows\"",
  "tox ; extra == 'dev'",
  "pytest ; extra == 'dev'",
  "mock ; (python_version < \"3\") and extra == 'dev'",
  "zest.releaser[recommended] ; extra == 'maintainer'",
  "pillow ; extra == 'pil'",
  "pytest ; extra == 'test'",
  "pytest-cov ; extra == 'test'",
  "mock ; (python_version < \"3\") and extra == 'test'"
]
2021-04-26 20:45:40 +02:00
SomberNight ce4e556e20 update locale 2021-03-30 18:01:43 +02:00
SomberNight cecbaca4d1 rerun freeze_packages 2021-03-13 15:00:05 +01:00
SomberNight 83750a861f ledger: bump min btchip-python (0.1.30->0.1.32)
So that it has https://github.com/LedgerHQ/btchip-python/pull/42

fixes #6928
2021-02-12 05:28:01 +01:00
SomberNight 922a48f2b7 rerun freeze_packages 2021-01-07 21:42:03 +01:00
SomberNight e0917d12f6 rerun freeze_packages 2020-12-09 16:37:59 +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 827f00896c update locale submodule 2020-11-18 20:19:38 +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 3cd52e2d7b rerun freeze_packages 2020-11-14 05:21:33 +01:00
SomberNight a4e342ac58 requirements: rename some files 2020-11-14 04:30:48 +01: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
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 f1d54d3cd8 update locale submodule 2020-07-08 02:13:44 +02:00
SomberNight 27d03441d3 frozen deps: update bitbox02 and ledger libs
related: #6309, #6293
2020-07-02 13:01:07 +02:00
SomberNight 212d18d5e6 frozen deps: update coldcard lib
closes #6181
2020-06-25 19:36:43 +02:00
ThomasV 27f90ad595 update locale submodule 2020-06-23 20:35:28 +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 https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/wheel-0.34.2.tar.gz (58kB)
    100% |████████████████████████████████| 61kB 3.8MB/s
  Requested wheel==0.34.2 from https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/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 efe5cd9aff rerun freeze_packages
neat reduction due to #6220
2020-06-11 02:03:16 +02: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 7d0703fc4a fix mac build: follow-up aac770404f 2020-05-14 20:58:54 +02:00
SomberNight aac770404f mac build: pin hashes of more build dependencies
namely pyinstaller
2020-05-14 20:24:14 +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 04dcfe6fd1 bitbox02: add to requirements-hw, and include in win/mac binaries 2020-04-12 15:34:19 +02:00
SomberNight f11bf1dd4a rerun freeze_packages 2020-04-06 20:12:14 +02:00
SomberNight adc97af58c clear up requirements re pycryptodomex 2020-03-04 20:33:02 +01:00
SomberNight bb94712a14 requirements: bump min archos safet version
related: #5968
2020-02-21 18:23:33 +01:00
SomberNight 80025a3af4 requirements-hw: re-add Cython
this reverts ec496a8222
Cython must be pinned down for reproducible builds
related #5859
2020-01-22 12:08:30 +01:00
SomberNight bc77091539 requirements: rm pycryptodomex from "binary"-specific list
it's already listed now in the "core" requirements.txt file
2020-01-10 19:04:16 +01:00
SomberNight 5f4162deaa requirements: bump min python-keepkey to 6.3.1
as 6.3.0 had basic functionality (restore from seed) broken
see https://github.com/keepkey/python-keepkey/pull/85
2019-12-21 07:33:36 +01:00
SomberNight c8d7075758 requirements: bump min python-keepkey to 6.3.0 2019-12-20 01:49:56 +01:00
SomberNight 00a7df13bf rerun freeze_packages 2019-12-04 20:04:18 +01:00
dependabot[bot] ed5300ba1d build(deps): bump ecdsa in /contrib/deterministic-build
Bumps [ecdsa](https://github.com/warner/python-ecdsa) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/warner/python-ecdsa/releases)
- [Changelog](https://github.com/warner/python-ecdsa/blob/master/NEWS)
- [Commits](https://github.com/warner/python-ecdsa/compare/python-ecdsa-0.13.2...python-ecdsa-0.13.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 09:23:39 +00:00
ThomasV a3bff7476c run freeze_packages 2019-08-20 09:03:12 +02:00