EUDAT-B2HANDLE / PYHANDLE

Python library for HANDLE system
https://EUDAT-B2HANDLE.github.io/PYHANDLE/
Apache License 2.0
8 stars 13 forks source link

Update python/requests compatability requirements #109

Closed agelostsal closed 1 year ago

themiszamani commented 1 year ago

@cookie33 could you please validate it is correct?

cookie33 commented 1 year ago

checkout devel branch:

$ git branch
* devel
  master

check changes:

$ git diff setup.py
diff --git a/setup.py b/setup.py
index 7f464e6..6c9fe46 100644
--- a/setup.py
+++ b/setup.py
@@ -81,8 +81,8 @@ setup(name='pyhandle',
       packages=find_packages(),
       zip_safe=False,
       install_requires=[
-          'requests==2.27.1; python_version=="3.5.0"',
-          'requests==2.28.1; python_version>="3.6.0"',
+          'requests==2.25.1; python_version ~= "3.5.0"',
+          'requests==2.27.1; python_version >= "3.6"',
           'datetime',
           'future',
           'six',

Test installation for python3 on a Centos7 system:

$ python3 setup.py install --user
running install
running bdist_egg
running egg_info
creating pyhandle.egg-info
writing pyhandle.egg-info/PKG-INFO
writing dependency_links to pyhandle.egg-info/dependency_links.txt
writing requirements to pyhandle.egg-info/requires.txt
writing top-level names to pyhandle.egg-info/top_level.txt
writing manifest file 'pyhandle.egg-info/SOURCES.txt'
reading manifest file 'pyhandle.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyhandle.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/pyhandle
copying pyhandle/batchhsexceptions.py -> build/lib/pyhandle
copying pyhandle/clientcredentials.py -> build/lib/pyhandle
copying pyhandle/compatibility_helper.py -> build/lib/pyhandle
copying pyhandle/dbhsexceptions.py -> build/lib/pyhandle
copying pyhandle/handleclient.py -> build/lib/pyhandle
copying pyhandle/handlesystemconnector.py -> build/lib/pyhandle
copying pyhandle/hsresponses.py -> build/lib/pyhandle
copying pyhandle/pyhandleclient.py -> build/lib/pyhandle
copying pyhandle/searcher.py -> build/lib/pyhandle
copying pyhandle/utilhandle.py -> build/lib/pyhandle
copying pyhandle/__init__.py -> build/lib/pyhandle
copying pyhandle/handleexceptions.py -> build/lib/pyhandle
creating build/lib/pyhandle/client
copying pyhandle/client/__init__.py -> build/lib/pyhandle/client
copying pyhandle/client/batchhandleclient.py -> build/lib/pyhandle/client
copying pyhandle/client/dbhandleclient.py -> build/lib/pyhandle/client
copying pyhandle/client/resthandleclient.py -> build/lib/pyhandle/client
creating build/lib/pyhandle/tests
copying pyhandle/tests/__init__.py -> build/lib/pyhandle/tests
copying pyhandle/tests/main_test_script.py -> build/lib/pyhandle/tests
copying pyhandle/tests/mockresponses.py -> build/lib/pyhandle/tests
copying pyhandle/tests/test_script.py -> build/lib/pyhandle/tests
copying pyhandle/tests/utilities.py -> build/lib/pyhandle/tests
creating build/lib/pyhandle/util
copying pyhandle/util/__init__.py -> build/lib/pyhandle/util
copying pyhandle/util/allutils.py -> build/lib/pyhandle/util
copying pyhandle/util/argsutils.py -> build/lib/pyhandle/util
copying pyhandle/util/logutils.py -> build/lib/pyhandle/util
copying pyhandle/util/pathutils.py -> build/lib/pyhandle/util
copying pyhandle/util/timeutil.py -> build/lib/pyhandle/util
copying pyhandle/util/utilconfig.py -> build/lib/pyhandle/util
creating build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/__init__.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/clientcredentials_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_2_read_patched_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_read_integration_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_read_patched_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_search_integration_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_search_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_write_integration_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleclient_write_patched_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleconnector_patched_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/handleconnector_unit_test.py -> build/lib/pyhandle/tests/testcases
copying pyhandle/tests/testcases/utilconfig_unit_test.py -> build/lib/pyhandle/tests/testcases
creating build/lib/pyhandle/tests/resources
copying pyhandle/tests/resources/handlerecord_for_reading_PUBLIC.json -> build/lib/pyhandle/tests/resources
copying pyhandle/tests/resources/handlerecord_with_10320LOC_PUBLIC.json -> build/lib/pyhandle/tests/resources
copying pyhandle/tests/resources/handlerecord_with_empty_10320LOC_PUBLIC.json -> build/lib/pyhandle/tests/resources
copying pyhandle/tests/resources/handlerecord_without_10320LOC_PUBLIC.json -> build/lib/pyhandle/tests/resources
copying pyhandle/tests/resources/testvalues_for_clientcredentials_tests_PUBLIC.json -> build/lib/pyhandle/tests/resources
copying pyhandle/tests/resources/testvalues_for_integration_tests_template_PUBLIC.json -> build/lib/pyhandle/tests/resources
creating build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_brokensyntax_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_clientempty_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_clientmissing_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_correct_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_correct_with_cert_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_correct_with_cert_and_key_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_correct_withconfig_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_noindex_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_usernameempty_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_usernamemissing_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
copying pyhandle/tests/testcredentials/credentials_wrongusername_PUBLIC.json -> build/lib/pyhandle/tests/testcredentials
creating build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys
copying pyhandle/tests/testcredentials/fake_certs_and_keys/fake_certi_and_bothkeys.pem -> build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys
copying pyhandle/tests/testcredentials/fake_certs_and_keys/fake_certificate.pem -> build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys
copying pyhandle/tests/testcredentials/fake_certs_and_keys/fake_privatekey.pem -> build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/batchhsexceptions.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/clientcredentials.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/compatibility_helper.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/dbhsexceptions.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/handleclient.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/handlesystemconnector.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/hsresponses.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/pyhandleclient.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/searcher.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/utilhandle.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/__init__.py -> build/bdist.linux-x86_64/egg/pyhandle
copying build/lib/pyhandle/handleexceptions.py -> build/bdist.linux-x86_64/egg/pyhandle
creating build/bdist.linux-x86_64/egg/pyhandle/client
copying build/lib/pyhandle/client/__init__.py -> build/bdist.linux-x86_64/egg/pyhandle/client
copying build/lib/pyhandle/client/batchhandleclient.py -> build/bdist.linux-x86_64/egg/pyhandle/client
copying build/lib/pyhandle/client/dbhandleclient.py -> build/bdist.linux-x86_64/egg/pyhandle/client
copying build/lib/pyhandle/client/resthandleclient.py -> build/bdist.linux-x86_64/egg/pyhandle/client
creating build/bdist.linux-x86_64/egg/pyhandle/tests
copying build/lib/pyhandle/tests/__init__.py -> build/bdist.linux-x86_64/egg/pyhandle/tests
copying build/lib/pyhandle/tests/main_test_script.py -> build/bdist.linux-x86_64/egg/pyhandle/tests
copying build/lib/pyhandle/tests/mockresponses.py -> build/bdist.linux-x86_64/egg/pyhandle/tests
copying build/lib/pyhandle/tests/test_script.py -> build/bdist.linux-x86_64/egg/pyhandle/tests
copying build/lib/pyhandle/tests/utilities.py -> build/bdist.linux-x86_64/egg/pyhandle/tests
creating build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/__init__.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/clientcredentials_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_2_read_patched_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_read_integration_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_read_patched_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_search_integration_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_search_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_write_integration_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleclient_write_patched_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleconnector_patched_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/handleconnector_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
copying build/lib/pyhandle/tests/testcases/utilconfig_unit_test.py -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcases
creating build/bdist.linux-x86_64/egg/pyhandle/tests/resources
copying build/lib/pyhandle/tests/resources/handlerecord_for_reading_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/resources
copying build/lib/pyhandle/tests/resources/handlerecord_with_10320LOC_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/resources
copying build/lib/pyhandle/tests/resources/handlerecord_with_empty_10320LOC_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/resources
copying build/lib/pyhandle/tests/resources/handlerecord_without_10320LOC_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/resources
copying build/lib/pyhandle/tests/resources/testvalues_for_clientcredentials_tests_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/resources
copying build/lib/pyhandle/tests/resources/testvalues_for_integration_tests_template_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/resources
creating build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_brokensyntax_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_clientempty_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_clientmissing_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_correct_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_correct_with_cert_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_correct_with_cert_and_key_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_correct_withconfig_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_noindex_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_usernameempty_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_usernamemissing_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
copying build/lib/pyhandle/tests/testcredentials/credentials_wrongusername_PUBLIC.json -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials
creating build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials/fake_certs_and_keys
copying build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys/fake_certi_and_bothkeys.pem -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials/fake_certs_and_keys
copying build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys/fake_certificate.pem -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials/fake_certs_and_keys
copying build/lib/pyhandle/tests/testcredentials/fake_certs_and_keys/fake_privatekey.pem -> build/bdist.linux-x86_64/egg/pyhandle/tests/testcredentials/fake_certs_and_keys
creating build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/__init__.py -> build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/allutils.py -> build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/argsutils.py -> build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/logutils.py -> build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/pathutils.py -> build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/timeutil.py -> build/bdist.linux-x86_64/egg/pyhandle/util
copying build/lib/pyhandle/util/utilconfig.py -> build/bdist.linux-x86_64/egg/pyhandle/util
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/batchhsexceptions.py to batchhsexceptions.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/clientcredentials.py to clientcredentials.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/compatibility_helper.py to compatibility_helper.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/dbhsexceptions.py to dbhsexceptions.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/handleclient.py to handleclient.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/handlesystemconnector.py to handlesystemconnector.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/hsresponses.py to hsresponses.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/pyhandleclient.py to pyhandleclient.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/searcher.py to searcher.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/utilhandle.py to utilhandle.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/handleexceptions.py to handleexceptions.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/client/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/client/batchhandleclient.py to batchhandleclient.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/client/dbhandleclient.py to dbhandleclient.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/client/resthandleclient.py to resthandleclient.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/main_test_script.py to main_test_script.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/mockresponses.py to mockresponses.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/test_script.py to test_script.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/utilities.py to utilities.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/clientcredentials_unit_test.py to clientcredentials_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_2_read_patched_unit_test.py to handleclient_2_read_patched_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_read_integration_test.py to handleclient_read_integration_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_read_patched_unit_test.py to handleclient_read_patched_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_search_integration_test.py to handleclient_search_integration_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_search_unit_test.py to handleclient_search_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_unit_test.py to handleclient_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_write_integration_test.py to handleclient_write_integration_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleclient_write_patched_unit_test.py to handleclient_write_patched_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleconnector_patched_unit_test.py to handleconnector_patched_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/handleconnector_unit_test.py to handleconnector_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/tests/testcases/utilconfig_unit_test.py to utilconfig_unit_test.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/allutils.py to allutils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/argsutils.py to argsutils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/logutils.py to logutils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/pathutils.py to pathutils.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/timeutil.py to timeutil.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyhandle/util/utilconfig.py to utilconfig.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pyhandle.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyhandle.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyhandle.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyhandle.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyhandle.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyhandle.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/pyhandle-1.2.1-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pyhandle-1.2.1-py3.6.egg
creating /home/robertv/.local/lib/python3.6/site-packages/pyhandle-1.2.1-py3.6.egg
Extracting pyhandle-1.2.1-py3.6.egg to /home/robertv/.local/lib/python3.6/site-packages
Adding pyhandle 1.2.1 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/pyhandle-1.2.1-py3.6.egg
Processing dependencies for pyhandle==1.2.1
Searching for requests==2.27.1
Reading https://pypi.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl#sha256=f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d
Best match: requests 2.27.1
Processing requests-2.27.1-py2.py3-none-any.whl
Installing requests-2.27.1-py2.py3-none-any.whl to /home/robertv/.local/lib/python3.6/site-packages
writing requirements to /home/robertv/.local/lib/python3.6/site-packages/requests-2.27.1-py3.6.egg/EGG-INFO/requires.txt
Adding requests 2.27.1 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/requests-2.27.1-py3.6.egg
Searching for pymysql==0.8.0
Reading https://pypi.org/simple/pymysql/
Downloading https://files.pythonhosted.org/packages/e5/07/c0f249aa0b7b0517b5843eeab689b9ccc6a6bb0536fc9d95e65901e6f2ac/PyMySQL-0.8.0-py2.py3-none-any.whl#sha256=04fa19fad017fdb21394fad2878c1d6bd346959d4fbfd1b66050a09fc636a321
Best match: PyMySQL 0.8.0
Processing PyMySQL-0.8.0-py2.py3-none-any.whl
Installing PyMySQL-0.8.0-py2.py3-none-any.whl to /home/robertv/.local/lib/python3.6/site-packages
Adding PyMySQL 0.8.0 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/PyMySQL-0.8.0-py3.6.egg
Searching for datetime
Reading https://pypi.org/simple/datetime/
Downloading https://files.pythonhosted.org/packages/95/88/3b9d4042b396221a132180b392ab2a174031a6fb579f7927f3909fc183a7/DateTime-5.2-py3-none-any.whl#sha256=25250fb36f7184dad805faaf3f012e0b36f353cd97518e8f232babef5c53596e
Best match: DateTime 5.2
Processing DateTime-5.2-py3-none-any.whl
Installing DateTime-5.2-py3-none-any.whl to /home/robertv/.local/lib/python3.6/site-packages
writing requirements to /home/robertv/.local/lib/python3.6/site-packages/DateTime-5.2-py3.6.egg/EGG-INFO/requires.txt
Adding DateTime 5.2 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/DateTime-5.2-py3.6.egg
Searching for charset-normalizer~=2.0.0
Reading https://pypi.org/simple/charset-normalizer/
Downloading https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl#sha256=6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df
Best match: charset-normalizer 2.0.12
Processing charset_normalizer-2.0.12-py3-none-any.whl
Installing charset_normalizer-2.0.12-py3-none-any.whl to /home/robertv/.local/lib/python3.6/site-packages
writing requirements to /home/robertv/.local/lib/python3.6/site-packages/charset_normalizer-2.0.12-py3.6.egg/EGG-INFO/requires.txt
Adding charset-normalizer 2.0.12 to easy-install.pth file
Installing normalizer script to /home/robertv/.local/bin

Installed /home/robertv/.local/lib/python3.6/site-packages/charset_normalizer-2.0.12-py3.6.egg
Searching for certifi>=2017.4.17
Reading https://pypi.org/simple/certifi/
Downloading https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl#sha256=92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9
Best match: certifi 2023.7.22
Processing certifi-2023.7.22-py3-none-any.whl
Installing certifi-2023.7.22-py3-none-any.whl to /home/robertv/.local/lib/python3.6/site-packages
Adding certifi 2023.7.22 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/certifi-2023.7.22-py3.6.egg
Searching for zope.interface
Reading https://pypi.org/simple/zope.interface/
Downloading https://files.pythonhosted.org/packages/87/03/6b85c1df2dca1b9acca38b423d1e226d8ffdf30ebd78bcb398c511de8b54/zope.interface-6.1.tar.gz#sha256=2fdc7ccbd6eb6b7df5353012fbed6c3c5d04ceaca0038f75e601060e95345309
Best match: zope.interface 6.1
Processing zope.interface-6.1.tar.gz
Writing /tmp/easy_install-dkq8imkv/zope.interface-6.1/setup.cfg
Running zope.interface-6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dkq8imkv/zope.interface-6.1/egg-dist-tmp-f8ziqi6_
creating /home/robertv/.local/lib/python3.6/site-packages/zope.interface-6.1-py3.6-linux-x86_64.egg
Extracting zope.interface-6.1-py3.6-linux-x86_64.egg to /home/robertv/.local/lib/python3.6/site-packages
Adding zope.interface 6.1 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/zope.interface-6.1-py3.6-linux-x86_64.egg
Searching for pytz
Reading https://pypi.org/simple/pytz/
Downloading https://files.pythonhosted.org/packages/32/4d/aaf7eff5deb402fd9a24a1449a8119f00d74ae9c2efa79f8ef9994261fc2/pytz-2023.3.post1-py2.py3-none-any.whl#sha256=ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7
Best match: pytz 2023.3.post1
Processing pytz-2023.3.post1-py2.py3-none-any.whl
Installing pytz-2023.3.post1-py2.py3-none-any.whl to /home/robertv/.local/lib/python3.6/site-packages
Adding pytz 2023.3.post1 to easy-install.pth file

Installed /home/robertv/.local/lib/python3.6/site-packages/pytz-2023.3.post1-py3.6.egg
Searching for six==1.14.0
Best match: six 1.14.0
Adding six 1.14.0 to easy-install.pth file

Using /usr/lib/python3.6/site-packages
Searching for future==0.18.2
Best match: future 0.18.2
Adding future 0.18.2 to easy-install.pth file
Installing futurize script to /home/robertv/.local/bin
Installing pasteurize script to /home/robertv/.local/bin

Using /usr/lib/python3.6/site-packages
Searching for urllib3==1.25.6
Best match: urllib3 1.25.6
Adding urllib3 1.25.6 to easy-install.pth file

Using /usr/lib/python3.6/site-packages
Searching for idna==2.10
Best match: idna 2.10
Adding idna 2.10 to easy-install.pth file

Using /usr/lib/python3.6/site-packages
Searching for setuptools==39.2.0
Best match: setuptools 39.2.0
Adding setuptools 39.2.0 to easy-install.pth file
Installing easy_install script to /home/robertv/.local/bin
Installing easy_install-3.6 script to /home/robertv/.local/bin

Using /usr/lib/python3.6/site-packages
Finished processing dependencies for pyhandle==1.2.1

Test creating a handle:

$ python3
Python 3.6.8 (default, Jun 20 2023, 11:53:23)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyhandle.handleclient import PyHandleClient
>>> from pyhandle.clientcredentials import PIDClientCredentials
>>> from pyhandle.handleexceptions import *
>>> import uuid
>>> import sys
>>> import json
>>> credentials_file = '/home/robertv/git/B2SAFE-core/scripts/tests/resources/epic2_credentials'
>>> prefix = '841'
>>> location = 'https://www.test.com'
>>> checksum = None
>>> extratypes = {}
>>>
>>> cred = PIDClientCredentials.load_from_JSON(credentials_file)
>>> client = PyHandleClient('rest').instantiate_with_credentials(cred)
>>> handle = client.generate_and_register_handle(prefix, location, checksum, extratypes)
>>>
>>> print(handle)
841/298e1af8-b53f-44c5-9a76-cbb1491c7096

So it works as designed.