From 25d2f80d22b18a39d798dde973c7f57653737c28 Mon Sep 17 00:00:00 2001 From: David Michaels Date: Mon, 8 Jul 2024 13:00:06 -0400 Subject: [PATCH] added hack_for_elasticsearch_numpy_usage.py for numpy>2 issue --- dcicutils/es_utils.py | 2 +- dcicutils/ff_utils.py | 2 +- dcicutils/snapshot_utils.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dcicutils/es_utils.py b/dcicutils/es_utils.py index c576b3db7..237b563be 100644 --- a/dcicutils/es_utils.py +++ b/dcicutils/es_utils.py @@ -1,7 +1,7 @@ import logging import boto3 from .misc_utils import PRINT -import dcicutils.hack_for_elasticsearch_numpy_usage +import dcicutils.hack_for_elasticsearch_numpy_usage # noqa from elasticsearch import Elasticsearch, RequestsHttpConnection from aws_requests_auth.boto_utils import BotoAWSRequestsAuth diff --git a/dcicutils/ff_utils.py b/dcicutils/ff_utils.py index 860029468..d2456fc1f 100644 --- a/dcicutils/ff_utils.py +++ b/dcicutils/ff_utils.py @@ -7,7 +7,7 @@ import time from collections import namedtuple -import dcicutils.hack_for_elasticsearch_numpy_usage +import dcicutils.hack_for_elasticsearch_numpy_usage # noqa from elasticsearch.exceptions import AuthorizationException from typing import Dict, List, Optional from urllib.parse import parse_qs, urlencode, urlparse, urlunparse diff --git a/dcicutils/snapshot_utils.py b/dcicutils/snapshot_utils.py index 33fc507f3..4576bef4f 100644 --- a/dcicutils/snapshot_utils.py +++ b/dcicutils/snapshot_utils.py @@ -1,7 +1,7 @@ import datetime import logging -import dcicutils.hack_for_elasticsearch_numpy_usage +import dcicutils.hack_for_elasticsearch_numpy_usage # noqa from elasticsearch.exceptions import NotFoundError from .misc_utils import ( environ_bool, PRINT, camel_case_to_snake_case, full_object_name, diff --git a/pyproject.toml b/pyproject.toml index 204cf0a88..103c35308 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dcicutils" -version = "8.13.0" +version = "8.13.0.1b1" # TODO: To become 8.13.1 description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources" authors = ["4DN-DCIC Team "] license = "MIT"