From 3fdad10241e51c897645633f584e52ef7f43d341 Mon Sep 17 00:00:00 2001 From: Rok Mandeljc Date: Mon, 31 Jul 2023 22:50:17 +0200 Subject: [PATCH] hooks: update graphql_query hook for compatibility with v1.2.0 Update `graphql_query` hook for compatibility with `graphql-query` v1.2.0. Collect data files from `graphql_query` instead of `graphql_query.templates`; the templates directory cannot be treated as a namespace subpackage anymore due to introduction of eponymous submodule. --- news/621.update.rst | 2 ++ requirements-test-libraries.txt | 2 +- .../hooks/stdhooks/hook-graphql_query.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 news/621.update.rst diff --git a/news/621.update.rst b/news/621.update.rst new file mode 100644 index 00000000..c37c4e69 --- /dev/null +++ b/news/621.update.rst @@ -0,0 +1,2 @@ +Update ``graphql_query`` hook for compatibility with ``graphql-query`` +v1.2.0. diff --git a/requirements-test-libraries.txt b/requirements-test-libraries.txt index db67c279..aff034cd 100644 --- a/requirements-test-libraries.txt +++ b/requirements-test-libraries.txt @@ -34,7 +34,7 @@ folium==0.14.0 ffpyplayer==4.5.0 geopandas==0.13.2; sys_platform != 'win32' google-api-python-client==2.95.0 -graphql-query==1.1.1 +graphql-query==1.2.0 python-gitlab==3.15.0 h5py==3.9.0 humanize==4.7.0 diff --git a/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-graphql_query.py b/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-graphql_query.py index 6de96df1..2e665fc2 100755 --- a/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-graphql_query.py +++ b/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-graphql_query.py @@ -14,4 +14,4 @@ from PyInstaller.utils.hooks import collect_data_files -datas = collect_data_files('graphql_query.templates') +datas = collect_data_files('graphql_query')