From 92de5c64b24d4eccb083cb376efea2e9367f634f Mon Sep 17 00:00:00 2001 From: nialov Date: Fri, 1 Nov 2024 16:32:51 +0200 Subject: [PATCH] fix: remove deprecated config Related to prior use of pygeos. --- fractopo/__init__.py | 5 ----- tests/__init__.py | 3 --- 2 files changed, 8 deletions(-) diff --git a/fractopo/__init__.py b/fractopo/__init__.py index 81fb4ce..e0e947f 100644 --- a/fractopo/__init__.py +++ b/fractopo/__init__.py @@ -5,11 +5,6 @@ """ import logging -import os - -# Make GeoPandas use shapely 2.0 instead of pygeos -os.environ["USE_PYGEOS"] = "0" - from fractopo.analysis.multi_network import MultiNetwork # noqa: E402,C0413 from fractopo.analysis.network import Network # noqa: E402,C0413 diff --git a/tests/__init__.py b/tests/__init__.py index 8ae157c..5499e55 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -9,9 +9,6 @@ # Value of "0" means it is NOT disabled os.environ["FRACTOPO_DISABLE_CACHE"] = "1" -# Make GeoPandas use shapely 2.0 instead of pygeos -os.environ["USE_PYGEOS"] = "0" - import logging import sys from functools import lru_cache, wraps