question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

git_commit in setup.cfg

See original GitHub issue

@Bultako - Can we get rid of the git_commit key in setup.cfg?

Why not import and use gammapy.version to get the version number, like we do in other places of the docs build?

It’s hard to remember to change the version number there, in addition to setup.py when making a release.

And I’m not sure what’s happening here while I’m trying to make the docs build for the stable version: https://gist.github.com/cdeil/0d504416f43da5df691a5855b42ce325

Did one of these commands change setup.cfg and the git_commit key back to master on disk?

python setup.py build_ext -i
time make docs-all

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
Bultakocommented, Jun 6, 2019

Solved in #2212

0reactions
cdeilcommented, Sep 24, 2018

@Bultako - as you probably noticed from my comments above, I’m -1 to keep the these versioned binder links coupled to the Sphinx docs build. I think it’s too complex and hard to maintain, and we should focus only on code developments, not configuring and maintaining a cloud service.

I expect that others in CTA will set up a Jupyter cloud service for CTA and install Gammapy there in the near future. When that appears, we can just link to it from http://gammapy.org/ next to the link we have to the Binder we from the Gammapy team set up and maintain at the moment.

@Bultako - Don’t get me wrong. I very much appreciate all the work you have done, and I think having Binder working is a great feature and will be used a lot for tutorials. I just think we should put it more “on the side”, not integrated into our docs build to keep things for Gammapy devs and future release managers as simple as possible.

For me, this is the only remaining open point before finalising #1419 and bringing it for an official vote and resolving it with the Gammapy coordination committee.

@registerrier @adonath @Bultako - Please comment / vote

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.6 Getting Started - First-Time Git Setup
If you want to check your configuration settings, you can use the git config --list command to list all the settings Git can...
Read more >
How to add git dependency to setup.cfg? · Issue #261 - GitHub
I'm having trouble figure out the syntax to add a dependency to my project that's stored in Git. For a requirements file or...
Read more >
git config | Atlassian Git Tutorial
The git config command is a convenience function that is used to set Git configuration values on a global or local project level....
Read more >
Pre-commit flake8 with setup.cfg in subfolder - Stack Overflow
repos: - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.4 hooks: - id: ... ^foo/ args: [--config, foo/setup.cfg] - id: flake8 name: flake8 .
Read more >
setup.cfg · master · Daniel Boeckenhoff / rna - MPCDF Gitlab
... upon (e.g. git subtree) by other modules in order to easily have a setup.py, ... pre-commit # https://pre-commit.com/ for hook managment.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found