Build requirements are too strict
See original GitHub issueI’d like to package pytest-mypy
for OpenIndiana, but it is very hard to do so because build requirements for pytest-mypy
are these (from pyproject.toml
):
[build-system]
requires = ['setuptools ~= 50.3.0', 'setuptools-scm[toml] ~= 5.0.0', 'wheel ~= 0.36.0']
build-backend = 'setuptools.build_meta'
The latest acceptable versions of required tools are about two years old now.
Could you please update pytest-mypy
to relax its build requirements?
Thank you.
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Building code pros and cons: Is the system in need of an ...
These regulations shape our buildings and infrastructure, ... But if building codes prevent health and safety hazards, why are so many ...
Read more >Why CA Is Known for Such Strict Development Regulations
“There's a long history of trying to protect the state's unique natural beauty and resources and rightly so,” Hui tells GlobeSt.com. “We have ......
Read more >Which Regions Have the Strictest Building Regulations?
The National Bureau of Economic Research found that the most strict building codes exist on the coasts, according to a working paper that ......
Read more >Why are building regulations more strict in the UK opposed to ...
It's actually quite interesting how very different the UK and USA are in ways where Brits would strongly resist any change (and where...
Read more >Does Florida's Strict Building Code Give a False Sense of ...
Florida building code is strict and growing more so. ... Many Florida Homes Were Built Before Stricter Regulations Took Effect.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The build process exactly is this: https://github.com/OpenIndiana/oi-userland/blob/f3877e672d82783b9d41a0c81f55d3dd01a85067/make-rules/pyproject.mk#L72. Yes, we use
build
(then install usinginstaller
). We prefer sdists for many reasons. One of them is that they often contains tests and we like to test our packages to make sure everything is okay. OpenIndiana is not mainstream OS that everybody test their projects on so we need to do that.Maybe, but that’s on discretion of every particular project. And, as I said, majority of them are not very strict.
Sure. To avoid that a project could set some reasonable upper boundary and once it is crossed (by setuptools, for example) the project could (should) adapt and set new upper boundary. I think the best way how to handle that is to use a build backend with strict semver (I’m not sure if setuptools uses semver or not) to avoid surprises.
Thank you.
Yes, sure, but for building the build dependencies needs to be installed on a build machine so build dependencies are de facto runtime dependencies needed during the build.
Yes, exactly, the “global environment” is the key here. To solve that we would need to build in isolated/virtualized environment and we want to try to avoid that because it would make the build environment too complex. And so far it looks viable because vast majority of Python projects seems to be already flexible enough with their deps. Where it is not the case (like it was for
pytest-mypy
before 0.10.2) it is usually straightforward to relax the deps. BTW, the number of projects with too strict build deps is about 1-2% only so it looks like it is better to ask such projects to relax their build deps (for their own benefit too: they could build with newer build tools after the change to possibly get some new features and bugs fixed) than to implement virtual build env at our side.It is in queue waiting for its dependencies to get packaged, namely
mypy
. But at least we can now satisfy build requirements. So big thank you for relaxing the build deps and releasing new version! I really appreciate.