Skip to content

httplib2 is a direct dependency but is not added as one #336

Closed

Description

@dvzrv

Hi! 👋

When upgrading the package for this project on Arch Linux I noticed that the dependency on httplib2 is not declared.
It is used here:

import httplib2

The httplib2 dependency is pulled in via oauth2client, but it would be cleaner to not rely on this transitive dependency and instead declare it as part of the dependencies of this project:

PyDrive2/setup.py

Lines 38 to 43 in 10a60fc

install_requires=[
"google-api-python-client >= 1.12.5",
"oauth2client >= 4.0.0",
"PyYAML >= 3.0",
"pyOpenSSL >= 19.1.0",
],

cc @grawlinson

Activity

  1. shcheklein commented on Nov 21, 2026

    @shcheklein
    Member

    PyDrive2 now declares httplib2>=0.19.0 directly in its package metadata. This landed in #395 on main and will ship with the next release. Dependency list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions