public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/fsspec/files/, dev-python/fsspec/
@ 2020-12-16 10:40 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2020-12-16 10:40 UTC (permalink / raw
  To: gentoo-commits

commit:     eda5e9bfd6481ef10149cc981364a27457fd5a8c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 16 10:38:12 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 16 10:40:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda5e9bf

dev-python/fsspec: Fix tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../fsspec/files/fsspec-0.8.2-test-cleanup.patch   | 80 ++++++++++++++++++++++
 dev-python/fsspec/fsspec-0.8.2.ebuild              |  4 ++
 2 files changed, 84 insertions(+)

diff --git a/dev-python/fsspec/files/fsspec-0.8.2-test-cleanup.patch b/dev-python/fsspec/files/fsspec-0.8.2-test-cleanup.patch
new file mode 100644
index 00000000000..8227c2d23c6
--- /dev/null
+++ b/dev-python/fsspec/files/fsspec-0.8.2-test-cleanup.patch
@@ -0,0 +1,80 @@
+From f933694238f78fbef91367d5051d515e0f9d0635 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Wed, 16 Dec 2020 11:32:04 +0100
+Subject: [PATCH] clean up properly after test_git
+
+Restore original directory after test_git.  Otherwise, next tests
+are run in non-existing directory and fail:
+
+[...]
+>           cwd = os.getcwd()
+E           FileNotFoundError: [Errno 2] No such file or directory
+
+/usr/lib/python3.9/site-packages/gunicorn/util.py:443: FileNotFoundError
+
+While at it, reflow the logic so that the temporary directory is always
+cleaned, even if the test fails in middle of setup.
+---
+ fsspec/implementations/tests/test_git.py | 42 +++++++++++++-----------
+ 1 file changed, 22 insertions(+), 20 deletions(-)
+
+diff --git a/fsspec/implementations/tests/test_git.py b/fsspec/implementations/tests/test_git.py
+index 562b228..4cd4c3f 100644
+--- a/fsspec/implementations/tests/test_git.py
++++ b/fsspec/implementations/tests/test_git.py
+@@ -10,30 +10,32 @@ pygit2 = pytest.importorskip("pygit2")
+ 
+ @pytest.fixture()
+ def repo():
++    orig_dir = os.getcwd()
+     d = tempfile.mkdtemp()
+-    os.chdir(d)
+-    subprocess.call("git init", shell=True, cwd=d)
+-    subprocess.call("git init", shell=True, cwd=d)
+-    subprocess.call('git config user.email "you@example.com"', shell=True, cwd=d)
+-    subprocess.call('git config user.name "Your Name"', shell=True, cwd=d)
+-    open(os.path.join(d, "file1"), "wb").write(b"data0")
+-    subprocess.call("git add file1", shell=True, cwd=d)
+-    subprocess.call('git commit -m "init"', shell=True, cwd=d)
+-    sha = open(os.path.join(d, ".git/refs/heads/master"), "r").read().strip()
+-    open(os.path.join(d, "file1"), "wb").write(b"data00")
+-    subprocess.check_output('git commit -a -m "tagger"', shell=True, cwd=d)
+-    subprocess.call('git tag -a thetag -m "make tag"', shell=True, cwd=d)
+-    open(os.path.join(d, "file2"), "wb").write(b"data000")
+-    subprocess.call("git add file2", shell=True)
+-    subprocess.call('git commit -m "master tip"', shell=True, cwd=d)
+-    subprocess.call("git checkout -b abranch", shell=True, cwd=d)
+-    os.mkdir("inner")
+-    open(os.path.join(d, "inner", "file1"), "wb").write(b"data3")
+-    subprocess.call("git add inner/file1", shell=True, cwd=d)
+-    subprocess.call('git commit -m "branch tip"', shell=True, cwd=d)
+     try:
++        os.chdir(d)
++        subprocess.call("git init", shell=True, cwd=d)
++        subprocess.call("git init", shell=True, cwd=d)
++        subprocess.call('git config user.email "you@example.com"', shell=True, cwd=d)
++        subprocess.call('git config user.name "Your Name"', shell=True, cwd=d)
++        open(os.path.join(d, "file1"), "wb").write(b"data0")
++        subprocess.call("git add file1", shell=True, cwd=d)
++        subprocess.call('git commit -m "init"', shell=True, cwd=d)
++        sha = open(os.path.join(d, ".git/refs/heads/master"), "r").read().strip()
++        open(os.path.join(d, "file1"), "wb").write(b"data00")
++        subprocess.check_output('git commit -a -m "tagger"', shell=True, cwd=d)
++        subprocess.call('git tag -a thetag -m "make tag"', shell=True, cwd=d)
++        open(os.path.join(d, "file2"), "wb").write(b"data000")
++        subprocess.call("git add file2", shell=True)
++        subprocess.call('git commit -m "master tip"', shell=True, cwd=d)
++        subprocess.call("git checkout -b abranch", shell=True, cwd=d)
++        os.mkdir("inner")
++        open(os.path.join(d, "inner", "file1"), "wb").write(b"data3")
++        subprocess.call("git add inner/file1", shell=True, cwd=d)
++        subprocess.call('git commit -m "branch tip"', shell=True, cwd=d)
+         yield d, sha
+     finally:
++        os.chdir(orig_dir)
+         shutil.rmtree(d)
+ 
+ 
+-- 
+2.29.2
+

diff --git a/dev-python/fsspec/fsspec-0.8.2.ebuild b/dev-python/fsspec/fsspec-0.8.2.ebuild
index fe649f0feac..7e7f5fb6a32 100644
--- a/dev-python/fsspec/fsspec-0.8.2.ebuild
+++ b/dev-python/fsspec/fsspec-0.8.2.ebuild
@@ -31,6 +31,10 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+PATCHES=(
+	"${FILESDIR}"/fsspec-0.8.2-test-cleanup.patch
+)
+
 src_test() {
 	git config --global user.email "you@example.com" || die
 	git config --global user.name "Your Name" || die


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/fsspec/files/, dev-python/fsspec/
@ 2021-05-09  9:39 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2021-05-09  9:39 UTC (permalink / raw
  To: gentoo-commits

commit:     3435a2c81a55259b13da9aa3bf307ecb0fe631fd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  9 09:36:43 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  9 09:36:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3435a2c8

dev-python/fsspec: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/fsspec/Manifest                         |  3 -
 .../fsspec/files/fsspec-0.8.2-test-cleanup.patch   | 80 ----------------------
 dev-python/fsspec/fsspec-0.8.5.ebuild              | 50 --------------
 dev-python/fsspec/fsspec-0.8.7.ebuild              | 48 -------------
 dev-python/fsspec/fsspec-0.9.0.ebuild              | 48 -------------
 5 files changed, 229 deletions(-)

diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest
index 83a50a56094..34d4148f0f3 100644
--- a/dev-python/fsspec/Manifest
+++ b/dev-python/fsspec/Manifest
@@ -1,4 +1 @@
-DIST filesystem_spec-0.8.5.tar.gz 255904 BLAKE2B df400276dbc53a453e9e9a00acb2e93a86a5f239237533bab036a16bd48d6d709f68241febe75f6f72281162ba4a563a087405a1064e18805ce2501095d778fb SHA512 20001fd02348f15e764a9e20eab98267f6746bd7e86187914d3db3098061aa62cb296595c3519696ae1e99ef896d49df0fcec846aaf6e5c281dd1a344ef6c393
-DIST filesystem_spec-0.8.7.tar.gz 277744 BLAKE2B 4957b716d622ecd2a1bb381b291253970682dde2c90a0e8dd76dfcc3ce3c9ba55846d97df8c1fcedd4e0d5af1c10eccc6c94418f2e78e9fffde846d12c11e170 SHA512 6eb89bf1e19ac1313aad2217aaaf4686f2e2e831a2cd339f9e12b8319fb080b82f0b90b10af53c2e6febd98a34ae8520444fee3c6394e7ab5fd5ca68d56e5454
-DIST filesystem_spec-0.9.0.tar.gz 286641 BLAKE2B 70603c14d955640251f0922afaf7fa7cd3739c827218cb708fac27883b671e059ef17eb02b4d482904278855d06958e2159b49e232c558f78befd925472bca6f SHA512 68235dc592a7c7e85e5aab1b4409825f9c0a15c6841f96f54cef66c1b6ef166e930b910bd140bbaeb818f2f1f3dfc9a5752f3c479a97b6c5ce8e7d7ea98721af
 DIST filesystem_spec-2021.04.0.tar.gz 288179 BLAKE2B 896982345533fef9593f393209202e0a90473e9826ced9d69854dca20c66c64b85e1b1c44413dda718cdd1af7f41ac821b4d67b600536b32a873a4f73ab32801 SHA512 6806d6fbae89b514955a309346f19b2d199db10aecece728d117798368c311e3fbb38161fd5a54ea4a60ee7e656d2e50fdf8c4444ec3d6bdd761229b4a6341f2

diff --git a/dev-python/fsspec/files/fsspec-0.8.2-test-cleanup.patch b/dev-python/fsspec/files/fsspec-0.8.2-test-cleanup.patch
deleted file mode 100644
index 8227c2d23c6..00000000000
--- a/dev-python/fsspec/files/fsspec-0.8.2-test-cleanup.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From f933694238f78fbef91367d5051d515e0f9d0635 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 16 Dec 2020 11:32:04 +0100
-Subject: [PATCH] clean up properly after test_git
-
-Restore original directory after test_git.  Otherwise, next tests
-are run in non-existing directory and fail:
-
-[...]
->           cwd = os.getcwd()
-E           FileNotFoundError: [Errno 2] No such file or directory
-
-/usr/lib/python3.9/site-packages/gunicorn/util.py:443: FileNotFoundError
-
-While at it, reflow the logic so that the temporary directory is always
-cleaned, even if the test fails in middle of setup.
----
- fsspec/implementations/tests/test_git.py | 42 +++++++++++++-----------
- 1 file changed, 22 insertions(+), 20 deletions(-)
-
-diff --git a/fsspec/implementations/tests/test_git.py b/fsspec/implementations/tests/test_git.py
-index 562b228..4cd4c3f 100644
---- a/fsspec/implementations/tests/test_git.py
-+++ b/fsspec/implementations/tests/test_git.py
-@@ -10,30 +10,32 @@ pygit2 = pytest.importorskip("pygit2")
- 
- @pytest.fixture()
- def repo():
-+    orig_dir = os.getcwd()
-     d = tempfile.mkdtemp()
--    os.chdir(d)
--    subprocess.call("git init", shell=True, cwd=d)
--    subprocess.call("git init", shell=True, cwd=d)
--    subprocess.call('git config user.email "you@example.com"', shell=True, cwd=d)
--    subprocess.call('git config user.name "Your Name"', shell=True, cwd=d)
--    open(os.path.join(d, "file1"), "wb").write(b"data0")
--    subprocess.call("git add file1", shell=True, cwd=d)
--    subprocess.call('git commit -m "init"', shell=True, cwd=d)
--    sha = open(os.path.join(d, ".git/refs/heads/master"), "r").read().strip()
--    open(os.path.join(d, "file1"), "wb").write(b"data00")
--    subprocess.check_output('git commit -a -m "tagger"', shell=True, cwd=d)
--    subprocess.call('git tag -a thetag -m "make tag"', shell=True, cwd=d)
--    open(os.path.join(d, "file2"), "wb").write(b"data000")
--    subprocess.call("git add file2", shell=True)
--    subprocess.call('git commit -m "master tip"', shell=True, cwd=d)
--    subprocess.call("git checkout -b abranch", shell=True, cwd=d)
--    os.mkdir("inner")
--    open(os.path.join(d, "inner", "file1"), "wb").write(b"data3")
--    subprocess.call("git add inner/file1", shell=True, cwd=d)
--    subprocess.call('git commit -m "branch tip"', shell=True, cwd=d)
-     try:
-+        os.chdir(d)
-+        subprocess.call("git init", shell=True, cwd=d)
-+        subprocess.call("git init", shell=True, cwd=d)
-+        subprocess.call('git config user.email "you@example.com"', shell=True, cwd=d)
-+        subprocess.call('git config user.name "Your Name"', shell=True, cwd=d)
-+        open(os.path.join(d, "file1"), "wb").write(b"data0")
-+        subprocess.call("git add file1", shell=True, cwd=d)
-+        subprocess.call('git commit -m "init"', shell=True, cwd=d)
-+        sha = open(os.path.join(d, ".git/refs/heads/master"), "r").read().strip()
-+        open(os.path.join(d, "file1"), "wb").write(b"data00")
-+        subprocess.check_output('git commit -a -m "tagger"', shell=True, cwd=d)
-+        subprocess.call('git tag -a thetag -m "make tag"', shell=True, cwd=d)
-+        open(os.path.join(d, "file2"), "wb").write(b"data000")
-+        subprocess.call("git add file2", shell=True)
-+        subprocess.call('git commit -m "master tip"', shell=True, cwd=d)
-+        subprocess.call("git checkout -b abranch", shell=True, cwd=d)
-+        os.mkdir("inner")
-+        open(os.path.join(d, "inner", "file1"), "wb").write(b"data3")
-+        subprocess.call("git add inner/file1", shell=True, cwd=d)
-+        subprocess.call('git commit -m "branch tip"', shell=True, cwd=d)
-         yield d, sha
-     finally:
-+        os.chdir(orig_dir)
-         shutil.rmtree(d)
- 
- 
--- 
-2.29.2
-

diff --git a/dev-python/fsspec/fsspec-0.8.5.ebuild b/dev-python/fsspec/fsspec-0.8.5.ebuild
deleted file mode 100644
index 50598ee6eb6..00000000000
--- a/dev-python/fsspec/fsspec-0.8.5.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-MY_P=filesystem_spec-${PV}
-
-DESCRIPTION="A specification that python filesystems should adhere to"
-HOMEPAGE="https://github.com/intake/filesystem_spec/
-	https://pypi.org/project/fsspec/"
-SRC_URI="
-	https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz
-		-> ${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-
-BDEPEND="
-	dev-python/versioneer[${PYTHON_USEDEP}]
-	test? (
-		dev-python/aiohttp[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-vcs/git
-	)"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-	"${FILESDIR}"/fsspec-0.8.2-test-cleanup.patch
-)
-
-src_test() {
-	git config --global user.email "you@example.com" || die
-	git config --global user.name "Your Name" || die
-	distutils-r1_src_test
-}
-
-python_test() {
-	# sftp and smb require server started via docker
-	pytest -vv \
-		--ignore fsspec/implementations/tests/test_sftp.py \
-		--ignore fsspec/implementations/tests/test_smb.py ||
-		die "Tests failed with ${EPYTHON}"
-}

diff --git a/dev-python/fsspec/fsspec-0.8.7.ebuild b/dev-python/fsspec/fsspec-0.8.7.ebuild
deleted file mode 100644
index a439d54f54f..00000000000
--- a/dev-python/fsspec/fsspec-0.8.7.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-MY_P=filesystem_spec-${PV}
-
-DESCRIPTION="A specification that python filesystems should adhere to"
-HOMEPAGE="https://github.com/intake/filesystem_spec/
-	https://pypi.org/project/fsspec/"
-SRC_URI="
-	https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz
-		-> ${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-
-BDEPEND="
-	dev-python/versioneer[${PYTHON_USEDEP}]
-	test? (
-		dev-python/aiohttp[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-vcs/git
-	)"
-
-distutils_enable_tests pytest
-
-src_test() {
-	git config --global user.email "you@example.com" || die
-	git config --global user.name "Your Name" || die
-	distutils-r1_src_test
-}
-
-python_test() {
-	# sftp and smb require server started via docker
-	pytest -vv \
-		--deselect fsspec/tests/test_spec.py::test_find \
-		--ignore fsspec/implementations/tests/test_dbfs.py \
-		--ignore fsspec/implementations/tests/test_sftp.py \
-		--ignore fsspec/implementations/tests/test_smb.py ||
-		die "Tests failed with ${EPYTHON}"
-}

diff --git a/dev-python/fsspec/fsspec-0.9.0.ebuild b/dev-python/fsspec/fsspec-0.9.0.ebuild
deleted file mode 100644
index b0dedf55ecb..00000000000
--- a/dev-python/fsspec/fsspec-0.9.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
-
-MY_P=filesystem_spec-${PV}
-
-DESCRIPTION="A specification that python filesystems should adhere to"
-HOMEPAGE="https://github.com/intake/filesystem_spec/
-	https://pypi.org/project/fsspec/"
-SRC_URI="
-	https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz
-		-> ${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-BDEPEND="
-	dev-python/versioneer[${PYTHON_USEDEP}]
-	test? (
-		dev-python/aiohttp[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-vcs/git
-	)"
-
-distutils_enable_tests pytest
-
-src_test() {
-	git config --global user.email "you@example.com" || die
-	git config --global user.name "Your Name" || die
-	distutils-r1_src_test
-}
-
-python_test() {
-	# sftp and smb require server started via docker
-	pytest -vv \
-		--deselect fsspec/tests/test_spec.py::test_find \
-		--ignore fsspec/implementations/tests/test_dbfs.py \
-		--ignore fsspec/implementations/tests/test_sftp.py \
-		--ignore fsspec/implementations/tests/test_smb.py ||
-		die "Tests failed with ${EPYTHON}"
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/fsspec/files/, dev-python/fsspec/
@ 2021-08-16  6:38 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2021-08-16  6:38 UTC (permalink / raw
  To: gentoo-commits

commit:     f13dca1026d218ab2dd8f171af745483c7b87bdc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 16 06:24:07 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 06:37:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13dca10

dev-python/fsspec: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/fsspec/Manifest                         |  1 -
 .../fsspec/files/fsspec-2021.06.1-ujson.patch      | 32 --------------
 dev-python/fsspec/fsspec-2021.06.1.ebuild          | 51 ----------------------
 3 files changed, 84 deletions(-)

diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest
index e8f3add5e84..a90fa0c6515 100644
--- a/dev-python/fsspec/Manifest
+++ b/dev-python/fsspec/Manifest
@@ -1,2 +1 @@
-DIST filesystem_spec-2021.06.1.tar.gz 297254 BLAKE2B e360c0780df2ace31a2a7e15f7269f23140ddbc6bd6a1f657cfddbab2b1f285d79a0c88f8d63e406d4a53fd3737f77012eb9837479707a778ab043503ade9d18 SHA512 1d59c2c53b1a4a604ff3762eca8484d7ed60fba98548cc77d7ed014ddf1513cef046ceeec41911cdecd414bdbb4e3c669a3a3f65da08dabf5a70cc2985d06b73
 DIST filesystem_spec-2021.07.0.tar.gz 301517 BLAKE2B 84b189e636eaeb4d3724e1afc44795e83b3ac576ab8640b4fee916bb7cf341c5cd6b1b475616225927693d13f204a1750f913f2e6d35b541fb8ff26ee1019400 SHA512 bea483734e6c9773d93ee93b526c8074a28f0671fbee17b39858dc7a75fd71553ca6d8d5c4e2204446bca3e7c23f6d4c8e94b62ff920e546a2b71786d0dcb388

diff --git a/dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch b/dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch
deleted file mode 100644
index 0c76d8ac71d..00000000000
--- a/dev-python/fsspec/files/fsspec-2021.06.1-ujson.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 270423008d401d9f03a31f08c53a7b13fa193573 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 23 Jun 2021 09:23:31 +0200
-Subject: [PATCH] Fix test_unmodel to accept ujson encoding without whitespace
-
-The ujson encoding for test_unmodel data is b'"Conventions":"UGRID-0.9.0"'
-(without a space after ':') that breaks the test for me.  Update
-the test to make the whitespace optional.
-
-That said, I have tried multiple ujson versions, going back to <3,
-and was not able to reproduce the output with space.
----
- fsspec/implementations/tests/test_reference.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/fsspec/implementations/tests/test_reference.py b/fsspec/implementations/tests/test_reference.py
-index a1a8fdc..15a32d5 100644
---- a/fsspec/implementations/tests/test_reference.py
-+++ b/fsspec/implementations/tests/test_reference.py
-@@ -104,7 +104,8 @@ jdata = """{
- 
- def test_unmodel():
-     refs = _unmodel_hdf5(json.loads(jdata))
--    assert b'"Conventions": "UGRID-0.9.0"' in refs[".zattrs"]
-+    # apparently the output may or may not contain a space after ':'
-+    assert b'"Conventions":"UGRID-0.9.0"' in refs[".zattrs"].replace(b' ', b'')
-     assert refs["adcirc_mesh/0"] == ("https://url", 8928, 8932)
- 
- 
--- 
-2.32.0
-

diff --git a/dev-python/fsspec/fsspec-2021.06.1.ebuild b/dev-python/fsspec/fsspec-2021.06.1.ebuild
deleted file mode 100644
index 62cb55afaec..00000000000
--- a/dev-python/fsspec/fsspec-2021.06.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-inherit distutils-r1
-
-MY_P=filesystem_spec-${PV}
-
-DESCRIPTION="A specification that python filesystems should adhere to"
-HOMEPAGE="https://github.com/intake/filesystem_spec/
-	https://pypi.org/project/fsspec/"
-SRC_URI="
-	https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz
-		-> ${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-
-BDEPEND="
-	dev-python/versioneer[${PYTHON_USEDEP}]
-	test? (
-		dev-python/aiohttp[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-vcs/git
-	)"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-	"${FILESDIR}"/${P}-ujson.patch
-)
-
-src_test() {
-	git config --global user.email "you@example.com" || die
-	git config --global user.name "Your Name" || die
-	distutils-r1_src_test
-}
-
-python_test() {
-	# sftp and smb require server started via docker
-	epytest \
-		--deselect fsspec/tests/test_spec.py::test_find \
-		--ignore fsspec/implementations/tests/test_dbfs.py \
-		--ignore fsspec/implementations/tests/test_sftp.py \
-		--ignore fsspec/implementations/tests/test_smb.py
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-16 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-16  6:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/fsspec/files/, dev-python/fsspec/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2021-05-09  9:39 Michał Górny
2020-12-16 10:40 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox