Skip to content
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

constrain requests-oauthlib<2 for tweepy #915

Merged

Conversation

akrherz
Copy link
Contributor

@akrherz akrherz commented Dec 2, 2024

Checklist

  • Used a static YAML file for the patch if possible (instructions).
  • Only wrote code directly into generate_patch_json.py if absolutely necessary.
  • Ran pre-commit run -a and ensured all files pass the linting checks.
  • Ran python show_diff.py and posted the output as part of the PR.
  • Modifications won't affect packages built in the future.

refs conda-forge/tweepy-feedstock#32

The dep solver is finding older tweepy releases with an unconstrained dep on requests-oauthlib

$ python show_diff.py 
================================================================================
================================================================================
linux-armv7l
================================================================================
================================================================================
win-32
win-32::tweepy-3.5.0-py27_0.tar.bz2
win-32::tweepy-3.5.0-py35_0.tar.bz2
win-32::tweepy-3.5.0-py36_0.tar.bz2
win-32::tweepy-3.6.0-py27_0.tar.bz2
win-32::tweepy-3.6.0-py35_0.tar.bz2
win-32::tweepy-3.6.0-py36_0.tar.bz2
-    "requests-oauthlib >=0.7.0",
+    "requests-oauthlib >=0.7.0,<2.0.0a0",
================================================================================
================================================================================
linux-ppc64le
================================================================================
================================================================================
osx-arm64
================================================================================
================================================================================
linux-aarch64
================================================================================
================================================================================
noarch
noarch::tweepy-3.10.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-3.7.0-py_0.tar.bz2
noarch::tweepy-3.8.0-py_0.tar.bz2
noarch::tweepy-3.9.0-pyh9f0ad1d_0.tar.bz2
noarch::tweepy-4.0.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.0.1-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.1.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.2.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.3.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.4.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.5.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.6.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.7.0-pyhd8ed1ab_0.tar.bz2
noarch::tweepy-4.8.0-pyhd8ed1ab_0.tar.bz2
-    "requests-oauthlib >=0.7.0",
+    "requests-oauthlib >=0.7.0,<2.0.0a0",
================================================================================
================================================================================
win-64
win-64::tweepy-3.5.0-py27_0.tar.bz2
win-64::tweepy-3.5.0-py35_0.tar.bz2
win-64::tweepy-3.5.0-py36_0.tar.bz2
win-64::tweepy-3.6.0-py27_0.tar.bz2
win-64::tweepy-3.6.0-py35_0.tar.bz2
win-64::tweepy-3.6.0-py36_0.tar.bz2
-    "requests-oauthlib >=0.7.0",
+    "requests-oauthlib >=0.7.0,<2.0.0a0",
================================================================================
================================================================================
osx-64
osx-64::tweepy-3.5.0-py27_0.tar.bz2
osx-64::tweepy-3.5.0-py35_0.tar.bz2
osx-64::tweepy-3.5.0-py36_0.tar.bz2
osx-64::tweepy-3.6.0-py27_0.tar.bz2
osx-64::tweepy-3.6.0-py35_0.tar.bz2
osx-64::tweepy-3.6.0-py36_0.tar.bz2
-    "requests-oauthlib >=0.7.0",
+    "requests-oauthlib >=0.7.0,<2.0.0a0",
================================================================================
================================================================================
linux-64
linux-64::tweepy-3.5.0-py27_0.tar.bz2
linux-64::tweepy-3.5.0-py35_0.tar.bz2
linux-64::tweepy-3.5.0-py36_0.tar.bz2
-    "requests-oauthlib >=0.7.0",
+    "requests-oauthlib >=0.7.0,<2.0.0a0",

cc: @conda-forge/tweepy

@akrherz akrherz requested a review from a team as a code owner December 2, 2024 18:30
@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@akrherz akrherz force-pushed the gh32_requests_oauthlib_dep_on_tweepy branch from 05d2291 to f5cee97 Compare December 2, 2024 18:33
@ocefpaf ocefpaf merged commit df2781b into conda-forge:main Dec 3, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants