Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
bob.extension
bob.extension
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • bob
  • bob.extensionbob.extension
  • Issues
  • #38

Closed
Open
Opened May 03, 2017 by Amir MOHAMMADI@amohammadi0 of 13 tasks completed0/13 tasks
  • Report abuse
  • New issue
Report abuse New issue

Add support for reading and parsing conda build recipes

Following the discussion on bob.admin#35 (closed) and some offline discussion with @andre.anjos, we want to move all our CI infrastructure and packages to conda. This will cause some duplication of information that you would have both in the conda recipe and in the setup.py file.

To keep only one source of information, we decided to make the meta.yaml the authoritative source of information. This means that we populate the information in setup.py from the meta.yaml file. Here is a list of tasks or information that should be gotten from meta.yaml file:

  • bob.extension will use pyyaml and jinja2 to parse the yaml file
  • Make CONDA_BUILD=0 in the jinja2 context parser to get only the PyPI requirements.
  • Accomodate for name differences between conda packages and PyPI package names if any
  • package name
  • package version
  • package PyPI requirements
  • console entry points
  • home website
  • license
  • short description
  • setup_requires
  • install_requires
  • test_requires

Maybe we can have a function in bob.extension that reads the yaml file and returns this information in a dictionary format.

Assignee
Assign to
Conda-based CI
Milestone
Conda-based CI
Assign milestone
Time tracking
None
Due date
None
1
Labels
enhancement
Assign labels
  • View project labels
Reference: bob/bob.extension#38