Skip to content

Create a more robust pyproject.toml file #69

Open
@ascidian-ai

Description

@ascidian-ai

ENVIRONMENT SETUP
Windows 10 (64-bit), Anaconda 2.0.4, Python 3.8.10, Jupyter Notebook 6.4.3

PROBLEM
I've had numpy compatability issues getting tensornets 0.4.6 installed.

I eventually managed to get tensornets 0.4.5 installed and running with the following dependancies

  • cython==0.29.24
  • numpy==1.19.5
  • tensorflow==2.6.0

ISSUE
wheel had issues identifying the right dependancies when I tried to rebuild 0.4.6 from source.

When I took a closer look at the current version I noticed the pyproject.toml file is missing versions for cython and numpy and does not include any dependancies for tensorflow libraries or python.

RESOLUTION
I believe a more robust pyproject.toml is needed which might go someway to helping developers identify installation issues.
At a minimum I think the following items should be defined in the pyproject.toml file along with version dependancies:

  • Python
  • various tensorflow packages
  • numpy (version dependancy to be added)
  • cython (version dependancy to be added)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions