[arch-commits] Commit in python-distributed/trunk (PKGBUILD py39.patch)
Bruno Pagani
archange at archlinux.org
Mon Mar 15 05:05:10 UTC 2021
Date: Monday, March 15, 2021 @ 05:05:09
Author: archange
Revision: 891390
upgpkg: python-distributed 2021.3.0-1
Modified:
python-distributed/trunk/PKGBUILD
Deleted:
python-distributed/trunk/py39.patch
------------+
PKGBUILD | 17 ++++-------------
py39.patch | 24 ------------------------
2 files changed, 4 insertions(+), 37 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-15 04:31:43 UTC (rev 891389)
+++ PKGBUILD 2021-03-15 05:05:09 UTC (rev 891390)
@@ -2,8 +2,8 @@
_pkg=distributed
pkgname=python-${_pkg}
-pkgver=2020.12.0
-pkgrel=2
+pkgver=2021.3.0
+pkgrel=1
pkgdesc="Distributed task scheduler for Dask"
arch=(x86_64)
url="https://distributed.dask.org/"
@@ -51,19 +51,10 @@
python-snappy
python-zstandard
)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz
- py39.patch)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
#source=(https://github.com/dask/distributed/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('2a0b6acc921cd4e0143a7c4383cdcbed7defbc4bd9dc3aab0c7f1c45f14f80e1'
- 'e872d3655fc634f226b178d579377ed862c14ff488058586e61c82fd903ed680')
+sha256sums=('427fe7e047bbad7413c65d57e56fa4d6b1cf921fd206a3d2caab94bf9153c3db')
-prepare() {
- cd ${_pkg}-${pkgver}
- # https://github.com/spyder-ide/spyder-kernels/issues/258
- # https://github.com/dask/distributed/pull/4234
- patch -Np1 -i ../py39.patch
-}
-
build() {
cd ${_pkg}-${pkgver}
python setup.py build --with-cython
Deleted: py39.patch
===================================================================
--- py39.patch 2021-03-15 04:31:43 UTC (rev 891389)
+++ py39.patch 2021-03-15 05:05:09 UTC (rev 891390)
@@ -1,24 +0,0 @@
-From 2c482276ed39112c650ed886c66d2c7b7d5e3783 Mon Sep 17 00:00:00 2001
-From: Jim Crist-Harif <jcristharif at gmail.com>
-Date: Tue, 10 Nov 2020 16:29:57 -0600
-Subject: [PATCH] Python 3.9 compatibility
-
----
- distributed/utils.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/distributed/utils.py b/distributed/utils.py
-index 77487f8ce..c1a0d2caa 100644
---- a/distributed/utils.py
-+++ b/distributed/utils.py
-@@ -72,6 +72,10 @@
-
-
- def _initialize_mp_context():
-+ if not WINDOWS:
-+ # For some reason this is required in python >= 3.9
-+ import multiprocessing.popen_spawn_posix
-+
- if WINDOWS or PYPY:
- return multiprocessing
- else:
More information about the arch-commits
mailing list