GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Problem with dependabot accessing public github repositories to update Pipfile · Issue #2150 · dependabot/dependabot-core

Problem with dependabot accessing public github repositories to update Pipfile #2150

New issue
Copy link
New issue
Copy link
Closed
Closed
Problem with dependabot accessing public github repositories to update Pipfile#2150
Copy link

Description

@weiji14
weiji14
opened on May 27, 2019
Issue body actions

Hi there,

I've been getting this weird permissions issue a little over a month now (since mid April?) on pipenv VCS dependencies in my Pipfile which looks something like below:

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
...
pygmt = {editable = true, ref = "0.0.1a0-16-g7004aa0", git = "https://github.com/GenericMappingTools/pygmt.git"}

[requires]
python_version = "3.6"

[pipenv]
allow_prereleases = true

It's started showing up in weiji14/deepbedmap#137 asking for me to:

... provide additional git credentials in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'. If you use a custom token for the host github.com make sure it has read access to this repo, too.

which I couldn't quite understand as the pygmt package in question was hosted as a public repository. I created an access token but that didn't solve the problem, so I thought maybe it was an issue with GenericMappingTools/pygmt itself, so I switched to my personal fork at weiji14/pygmt, and then dependabot started complaining about another VCS dependency geopandas in weiji14/deepbedmap#140 which is also publicly hosted.

That was when I realized it wasn't an issue with pygmt, but something with dependabot accessing github repository packages in general. I thought I resolved it in weiji14/deepbedmap#142 by installing the dependabot-preview app on my personal pygmt fork, but the issue kept popping up (see weiji14/deepbedmap#143 and weiji14/deepbedmap#144).

Could you examine the logs and see what is going on, as I feel like I've exhausted every possibility on my side. Let me know if you need any additional information.

Thanks

Activity

  1. stale commented on Oct 23, 2019

    @stale
    staleBot
    on Oct 23, 2019
    More actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within seven days. Thank you for your contributions.

  2. rebelagentm commented on Oct 29, 2019

    @rebelagentm
    rebelagentm
    on Oct 29, 2019
    Contributor
    More actions

    👋 @weiji14, we will look into this. Are you still experiencing these issues?

  3. weiji14 commented on Oct 29, 2019

    @weiji14
    weiji14
    on Oct 29, 2019
    Author
    More actions

    Hi there! I think it might have been because dependabot was confused with pygmt which had an invalid requirements.txt file. I've since fixed the file here in this PR and I'll try now to see if it works 🤞 It's taken me a couple of months of manually updating my dependencies to figure out what the problem might be 😆

    The error message could definitely be a bit better though, since it's not really a permissions issue, but a problem with the package itself (not being to resolve its subdependencies). I'm not quite sure how to word it properly, but maybe check the error logs (I've just pushed the "Bump Now" button).

  4. weiji14
    added a commit that references this issue on Oct 29, 2019

    ⬆️ Bump GMT to 6.0.0rc5, pygmt to 0.0.1a0-57-g7590d4a 📌 dask 0.12.3

    4353c9e
  5. weiji14 commented on Oct 29, 2019

    @weiji14
    weiji14
    on Oct 29, 2019
    Author
    More actions

    Hmm, nope, I was wrong again. Dependabot still doesn't work with a proper requirements.txt file in pygmt 😢

  6. rebelagentm commented on Oct 30, 2019

    @rebelagentm
    rebelagentm
    on Oct 30, 2019
    Contributor
    More actions

    Thanks for getting back to us! We'll take a look.

    Reacted by Wei Ji and Philip Harrison
  7. feelepxyz commented on Oct 31, 2019

    @feelepxyz
    feelepxyz
    on Oct 31, 2019
    Contributor
    More actions

    @weiji14 we've run into a bit of a wall on this one, our updates for your repository are hitting our 5gb space limit and failing to complete 😢 sadly not sure if there's an easy work around with the way we currently do python/pip installs.

  8. weiji14 commented on Oct 31, 2019

    @weiji14
    weiji14
    on Oct 31, 2019
    Author
    More actions

    Ah bugger, could you be more specific on what the 5gb limit is for? I could definitely try to cut down on some dependencies...

  9. feelepxyz commented on Nov 1, 2019

    @feelepxyz
    feelepxyz
    on Nov 1, 2019
    Contributor
    More actions

    @weiji14 it's hitting the disk space limit in our docker container, presumably the pip install is filling it up. Hard to tell exactly and a bit tricky to find out as we don't have much instrumentation on what's downloaded.

  10. rebelagentm commented on Nov 1, 2019

    @rebelagentm
    rebelagentm
    on Nov 1, 2019
    Contributor
    More actions

    @weiji14 If you do try cutting down on some of the dependencies, we can have another go at troubleshooting further.

  11. weiji14 commented on Nov 1, 2019

    @weiji14
    weiji14
    on Nov 1, 2019
    Author
    More actions

    Just wondering if running pipenv lock --clear on your end might help? I found 1 small dependency I can cut out easily, and I'm not sure if that'll make a dent to bring it below 5GB.

  12. feelepxyz commented on Nov 5, 2019

    @feelepxyz
    feelepxyz
    on Nov 5, 2019
    Contributor
    More actions

    @weiji14 hm not sure, the install seems to fail half way through, I'm guess the lock --clear has to be run after the install has completed? We also start each job with a clean slate. Hopefully we can migrate over to GitHub Actions which has more space allowance per container.

  13. stale commented on Jan 4, 2020

    @stale
    staleBot
    on Jan 4, 2020
    More actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within seven days. Thank you for your contributions.

  14. infin8x
    transferred this issue fromdependabot/feedbackon Jun 29, 2020
  15. infin8x commented on Jul 2, 2020

    @infin8x
    infin8x
    on Jul 2, 2020
    Contributor
    More actions

    Closing this due to age and inactivity. If this scenario is critical to your workflow please feel free to comment.

  16. infin8x
    closed this as completedon Jul 2, 2020
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

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.