robotpy-build icon indicating copy to clipboard operation
robotpy-build copied to clipboard

Allow overriding `python_requires`

Open auscompgeek opened this issue 3 years ago • 3 comments
trafficstars

We would like to allow packages that use robotpy-build to override the python_requires, which is currently always set to >=3.6 (as documented here).

It's set in our setuptools wrapper function here, which means it can't be overridden currently:

https://github.com/robotpy/robotpy-build/blob/e738ad3a21027af004d4f3fafdb846fb8753262b/robotpy_build/setup.py#L92

Moving it to the metadata config model would probably work, but I haven't tested it.

auscompgeek avatar Jan 08 '22 06:01 auscompgeek

@yashmadke if you find the places where python_requires is used when building a package and make it configurable that should meet our needs.

virtuald avatar Jan 09 '22 00:01 virtuald

This is a project for wrapping C++ objects so they can be used in Python. Are you sure you're asking your question at the right place?

virtuald avatar Jan 09 '22 04:01 virtuald

This isn't the right place to ask that question. Go to https://discuss.python.org/ or stack overflow and ask there.

virtuald avatar Jan 09 '22 04:01 virtuald