Skip to content

test with google-auth, google-cloud-core, google-api-core 2.x #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tswast opened this issue Dec 1, 2021 · 4 comments
Closed

test with google-auth, google-cloud-core, google-api-core 2.x #50

tswast opened this issue Dec 1, 2021 · 4 comments

Comments

@tswast
Copy link
Collaborator

tswast commented Dec 1, 2021

These packages were downgraded when I installed pydata-google-auth from conda-forge:

(pandas-gbq-dev) ➜  python-bigquery-pandas git:(issue365-datetime-out-of-bounds) ✗ mamba install pydata-google-auth

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.17.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['pydata-google-auth']

pkgs/main/osx-64         [====================] (00m:00s) No change
pkgs/main/noarch         [====================] (00m:00s) No change
pkgs/r/osx-64            [====================] (00m:00s) No change
pkgs/r/noarch            [====================] (00m:00s) No change
conda-forge/noarch       [====================] (00m:01s) Done
conda-forge/osx-64       [====================] (00m:04s) Done

Pinned packages:
  - python 3.9.*


Transaction

  Prefix: /usr/local/Caskroom/miniconda/base/envs/pandas-gbq-dev

  Updating specs:

   - pydata-google-auth
   - ca-certificates
   - certifi
   - openssl


  Package                 Version  Build         Channel                  Size
────────────────────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────────────────────

  + blinker                   1.4  py_1          conda-forge/noarch     Cached
  + google-auth-oauthlib    0.4.6  pyhd8ed1ab_0  conda-forge/noarch     Cached
  + oauthlib                3.1.1  pyhd8ed1ab_0  conda-forge/noarch     Cached
  + pydata-google-auth      1.2.0  pyhd8ed1ab_0  conda-forge/noarch     Cached
  + pyjwt                   2.0.1  pyhd8ed1ab_0  conda-forge/noarch      17 KB
  + requests-oauthlib       1.3.0  pyh9f0ad1d_0  conda-forge/noarch     Cached

  Downgrade:
────────────────────────────────────────────────────────────────────────────────

  - google-api-core         2.2.2  pyhd8ed1ab_0  installed                    
  + google-api-core        1.31.2  pyhd8ed1ab_1  conda-forge/noarch     Cached
  - google-api-core-grpc    2.2.2  hd8ed1ab_0    installed                    
  + google-api-core-grpc   1.31.2  hd8ed1ab_1    conda-forge/noarch     Cached
  - google-auth             2.3.3  pyh6c4a22f_0  installed                    
  + google-auth            1.35.0  pyh6c4a22f_0  conda-forge/noarch     Cached
  - google-cloud-core       2.2.1  pyh6c4a22f_0  installed                    
  + google-cloud-core       1.7.2  pyh6c4a22f_0  conda-forge/noarch     Cached

  Summary:

  Install: 6 packages
  Downgrade: 4 packages

  Total download: 17 KB

────────────────────────────────────────────────────────────────────────────────

Confirm changes: [Y/n] y
Finished pyjwt                                (00m:00s)              17 KB    103 KB/s
Downloading  [====================================================================================================] (00m:00s)  103.62 KB/s
Extracting   [====================================================================================================] (00m:00s)        1 / 1
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
@tswast
Copy link
Collaborator Author

tswast commented Dec 3, 2021

Possibly fixed by #51

(base) ➜  pydata-google-auth git:(issue50-core-upgrade) source .nox/unit-3-10/bin/activate
(unit-3-10) (base) ➜  pydata-google-auth git:(issue50-core-upgrade) pip freeze
attrs==21.2.0
cachetools==4.2.4
certifi==2021.10.8
charset-normalizer==2.0.8
coverage==6.2
google-auth==2.3.3
google-auth-oauthlib==0.4.6
idna==3.3
iniconfig==1.1.1
mock==4.0.3
oauthlib==3.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
-e [email protected]:tswast/pydata-google-auth.git@abdbdb47f9f054a626aeeecf00df4ac485be4809#egg=pydata_google_auth
pyfakefs==4.5.3
pyparsing==3.0.6
pytest==6.2.5
pytest-cov==3.0.0
requests==2.26.0
requests-oauthlib==1.3.0
rsa==4.8
six==1.16.0
toml==0.10.2
tomli==1.2.2
urllib3==1.26.7

Will close this out once conda recipe has been updated https://github.com/conda-forge/pydata-google-auth-feedstock

@tswast
Copy link
Collaborator Author

tswast commented Dec 3, 2021

Note: ibis-bigquery is still suck on google-auth <2.x conda-forge/ibis-bigquery-feedstock#4

  geotiff:                            1.7.0-h90a4e78_5           conda-forge
    gettext:                            0.19.8.1-h73d1719_1008     conda-forge
    gflags:                             2.2.2-he1b5a44_1004        conda-forge
    giflib:                             5.2.1-h36c2ea0_2           conda-forge
    glog:                               0.5.0-h48cff8f_0           conda-forge
    google-api-core:                    1.31.2-pyhd8ed1ab_1        conda-forge
    google-api-core-grpc:               1.31.2-hd8ed1ab_1          conda-forge
    google-auth:                        1.35.0-pyh6c4a22f_0        conda-forge
    google-auth-oauthlib:               0.4.6-pyhd8ed1ab_0         conda-forge
    google-cloud-bigquery:              2.30.1-pyh44b312d_1        conda-forge
    google-cloud-bigquery-core:         2.30.1-pyh44b312d_1        conda-forge
    google-cloud-bigquery-storage:      2.10.1-pyh6c4a22f_0        conda-forge
    google-cloud-bigquery-storage-core: 2.10.1-pyh6c4a22f_0        conda-forge
    google-cloud-core:                  1.7.2-pyh6c4a22f_0         conda-forge
    google-crc32c:                      1.1.2-py39hb81f231_2       conda-forge
    google-resumable-media:             2.1.0-pyh6c4a22f_0         conda-forge
    googleapis-common-protos:           1.53.0-py39hf3d152e_1      conda-forge
    graphite2:                          1.3.13-h58526e2_1001       conda-forge
    graphviz:                           2.49.3-h85b4f2f_0          conda-forge
    grpc-cpp:                           1.42.0-h7e358d9_0          conda-forge
    grpcio:                             1.42.0-py39hff7568b_0      conda-forge
    gtk2:                               2.24.33-h539f30e_1         conda-forge
    gts:                                0.7.6-h64030ff_2           conda-forge
    harfbuzz:                           3.1.2-hb4a5f5f_0           conda-forge

@tswast
Copy link
Collaborator Author

tswast commented Dec 3, 2021

I was able to trace it down to this package:

(pandas-gbq-dev) ➜  ~ mamba install google-api-core-grpc==2.2.2 google-api-core==2.2.2 google-cloud-core==2.2.1 google-auth==2.3.3

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.17.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['google-api-core-grpc==2.2.2', 'google-api-core==2.2.2', 'google-cloud-core==2.2.1', 'google-auth==2.3.3']

pkgs/main/osx-64         [====================] (00m:00s) No change
pkgs/main/noarch         [====================] (00m:00s) No change
pkgs/r/noarch            [====================] (00m:00s) No change
conda-forge/osx-64       [====================] (00m:00s) No change
pkgs/r/osx-64            [====================] (00m:00s) No change
conda-forge/noarch       [====================] (00m:00s) No change

Pinned packages:
  - python 3.9.*


Encountered problems while solving:
  - package pydata-google-auth-1.2.0-pyhd8ed1ab_0 requires google-auth >=1.0.0,<2dev, but none of the providers can be installed

@tswast
Copy link
Collaborator Author

tswast commented Dec 3, 2021

This has been resolved by conda-forge/pydata-google-auth-feedstock#9

(pandas-gbq-dev) ➜  pydata-google-auth-feedstock git:(v1.3.0) mamba install google-api-core-grpc==2.2.2 google-api-core==2.2.2 google-cloud-core==2.2.1 google-auth==2.3.3 pydata-google-auth==1.3.0

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.17.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['google-api-core-grpc==2.2.2', 'google-api-core==2.2.2', 'google-cloud-core==2.2.1', 'google-auth==2.3.3', 'pydata-google-auth==1.3.0']

conda-forge/osx-64       Using cache
conda-forge/noarch       Using cache
pkgs/main/osx-64         [====================] (00m:00s) No change
pkgs/main/noarch         [====================] (00m:00s) No change
pkgs/r/osx-64            [====================] (00m:00s) No change
pkgs/r/noarch            [====================] (00m:00s) No change

Pinned packages:
  - python 3.9.*


Transaction

  Prefix: /usr/local/Caskroom/miniconda/base/envs/pandas-gbq-dev

  Updating specs:

   - google-api-core-grpc==2.2.2
   - google-api-core==2.2.2
   - google-cloud-core==2.2.1
   - google-auth==2.3.3
   - pydata-google-auth==1.3.0
   - ca-certificates
   - certifi
   - openssl


  Package                 Version  Build         Channel                  Size
────────────────────────────────────────────────────────────────────────────────
  Upgrade:
────────────────────────────────────────────────────────────────────────────────

  - google-api-core        1.31.2  pyhd8ed1ab_1  installed
  + google-api-core         2.2.2  pyhd8ed1ab_0  conda-forge/noarch     Cached
  - google-api-core-grpc   1.31.2  hd8ed1ab_1    installed
  + google-api-core-grpc    2.2.2  hd8ed1ab_0    conda-forge/noarch       4 KB
  - google-auth            1.35.0  pyh6c4a22f_0  installed
  + google-auth             2.3.3  pyh6c4a22f_0  conda-forge/noarch      83 KB
  - google-cloud-core       1.7.2  pyh6c4a22f_0  installed
  + google-cloud-core       2.2.1  pyh6c4a22f_0  conda-forge/noarch      27 KB

  Summary:

  Upgrade: 4 packages

  Total download: 114 KB

────────────────────────────────────────────────────────────────────────────────

Confirm changes: [Y/n] y
Finished google-cloud-core                    (00m:00s)              27 KB    137 KB/s
Finished google-auth                          (00m:00s)              83 KB    420 KB/s
Finished google-api-core-grpc                 (00m:00s)               4 KB     19 KB/s
Downloading  [====================================================================================] (00m:00s)  520.51 KB/s
Extracting   [====================================================================================] (00m:00s)        3 / 3
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

@tswast tswast closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant