AnswerDotAI / AnswerDotAI/nbdev

`conda/` not a part of the .gitignore file?

Open
#1,348 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

# MWE

```sh
$ mkdir example
$ cd example
$ nbdev_new
$ code .gitignore
```

notice that

```.gitignore
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
```

`conda/` is missing. Should we commit the `nbdev_conda` generated distribution?

I used that MWE to make this package ([pypi], [conda], [docs], [repo]). Although it is now on conda and pypi, the docs fail to render a sidebar, and I had to update GitHub deploy / test to use `with: version: '3.10'`...

[repo]: https://github.com/dsm-72/env2ini
[pypi]: https://pypi.org/project/env2ini/
[docs]: https://dsm-72.github.io/env2ini/
[conda]: https://anaconda.org/dsm-72/env2ini

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with `nbdev_new` in the MWE and inspect the generated `.gitignore`, focusing on the packaging entries and the missing `conda/` path. Check whether `nbdev_conda` creates that directory and determine whether it should be ignored or committed; done means the generated project has the intended behavior and the related documentation or tests reflect it.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.