Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dependency installation by conversion from setup.cfg to pyproject.toml #70

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

msherman64
Copy link
Contributor

No description provided.

pbr=True,
version='{{VERSION_PLACEHOLDER}}'
)
setup(setup_requires=["pbr"])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to change the invocation here, because if any arguments other than setup_requires was specified, PBR attempts to load the non-existing setup.cfg

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing this out. I'm not sure if this changes how we were publishing to pypi, but I'll figure that out after merging.

build-backend = "pbr.build"

[project]
requires-python = ">=3.8"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should say 3.10, Jupyter is using this at the moment, and that is typically our source of truth for is python-chi working.

@msherman64 msherman64 marked this pull request as draft December 19, 2024 20:23
@msherman64
Copy link
Contributor Author

Moved this back to draft, due to the following issues:

  1. having a dependency on a git+https package (blazarclient) is not permitted by PyPi
  2. PBR supports pyproject.toml for purposes of build-tools installation, but does NOT utilize it for any other configuration, i.e. setup.py and setup.cfg files are still necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants