Syntax Error while installing nbdev (Github Actions)

I followed the instructions mentioned on the nbdev tutorial and after git push i am getting this error .(I have created project twice just to make sure i did not missed something first time ).


Settings.ini :
Am i doing something wrong here ?

There is no way I can debug from screenshots only

Provide a link to your repo and steps to reproduce

Make sure you can reproduce the error as well. Are you overriding any configurations manually?

Thanks for your reply . I have created a new project again.

Repo Link: https://github.com/Faizan-E-Mustafa/nbproject
Steps:

  1. After creating templete i changed settings.ini and used “nbdev_build_lib”
  2. changed 00_core.ipynb and used “nbdev_build_lib”
  3. in settings chose “master branch /docs folder” under source .
  4. changed index.pynb and used “nbdev_build_docs”
  5. pushed changes to github .
    I am not changing any other file or configurations
    github pages is showing up with the desired results but github actions fails at “install the library” step with the same error.
    github page: https://faizan-e-mustafa.github.io/nbproject/
    Running setup.py install for prometheus-client: finished with status 'done'
Successfully installed MarkupSafe-1.1.1 Send2Trash-1.5.0 attrs-19.3.0 backcall-0.1.0 bleach-3.1.4 decorator-4.4.2 defusedxml-0.6.0 entrypoints-0.3 fastscript-0.1.4 importlib-metadata-1.6.0 ipykernel-5.2.1 ipython-7.13.0 ipython-genutils-0.2.0 ipywidgets-7.5.1 jedi-0.17.0 jinja2-2.11.2 jsonschema-3.2.0 jupyter-1.0.0 jupyter-client-6.1.3 jupyter-console-6.1.0 jupyter-core-4.6.3 mistune-0.8.4 nbconvert-5.6.1 nbdev-0.2.17 nbformat-5.0.6 notebook-6.0.3 packaging-20.3 pandocfilters-1.4.2 parso-0.7.0 pexpect-4.8.0 pickleshare-0.7.5 prometheus-client-0.7.1 prompt-toolkit-3.0.5 ptyprocess-0.6.0 pygments-2.6.1 pyparsing-2.4.7 pyrsistent-0.16.0 python-dateutil-2.8.1 pyyaml-5.3.1 pyzmq-19.0.0 qtconsole-4.7.3 qtpy-1.9.0 six-1.14.0 terminado-0.8.3 testpath-0.4.4 tornado-6.0.4 traitlets-4.3.3 wcwidth-0.1.9 webencodings-0.5.1 widgetsnbextension-3.5.1 zipp-3.1.0
Obtaining file:///home/runner/work/nbproject/nbproject
    ERROR: Command errored out with exit status 1:
     command: /opt/hostedtoolcache/Python/3.6.10/x64/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/runner/work/nbproject/nbproject/setup.py'"'"'; __file__='"'"'/home/runner/work/nbproject/nbproject/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
         cwd: /home/runner/work/nbproject/nbproject/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/runner/work/nbproject/nbproject/setup.py", line 41
        python_requires  = '>=' + cfg['min_python'],
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
##[error]Process completed with exit code 1.```

Why are you changing settings.ini?

its mentioned on the website to edit the settings.ini to setup the library name and other minor details . Should i not change it ?

No please start over again (just to be safe, fastpages automatically changes settings.ini to the correct value for you.

After creating template for 5 times and watching Jeremy’s video on nbdev , found out there was a comma missing above the line that was causing syntax error :sweat_smile: . Happy to make my first ever pull request .
Thanks @hamelsmu for your help.