question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plea for release candidates / announcement to distutils-sig

See original GitHub issue

Sorry to be demanding, but this is a humble request that you add a release candidate phase to the release process.

Like others, most of my packaging builds started failing this morning with #1042 .

Of course, you’re in the unenviable position of being at the bottom of many many stacks, and it’s really hard to avoid these kind of problems. But - it would really help if you would consider making a release candidate and putting it up on pypi. The ideal would be if you could announce somewhere like distutils-sig, so we packagers know to check the release candidate somewhere with pip install --pre setuptools. For example, I am happy to do that by default on the many packaging repos that I have, so that I get the failures immediately, and before they go live by default across the ecosystem - I am sure others are happy to do that too.

That would really help make sure that people don’t get unexpected breakage. Pretty please.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:25 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
jaracocommented, Jun 1, 2017

Thanks for the suggestion. At first blush, it sounds like an excellent idea.

In the past, I have made pre-releases available (example), especially for backward-incompatible releases that were expected to cause disruption (and commensurate with the amount of disruption expected). In practice, I find that even if I cut the release and tweet about it and lead up to it with discussion and invitations to test, if issues are going to emerge, they will emerge after the release, and usually only in a small percentage of total uses.

So I’ve chosen instead to create minimally-invasive, rapid releases such that if issues are reported, they can be readily identified and corrected or rolled back, depending on the severity of the failure and the difficulty of corrective action. Ideally, the unit-test suite will capture all use cases, such that a release is only cut when tests pass.

This approach failed us last night when the release went out late and I managed to fall asleep before noticing any issue.

I loathe to create more manual steps that are unlikely to add significant value but guaranteed to add delays to releases.

I’d prefer to focus on how a broken build was able to bypass the existing safeguards and bolster those safeguards (test suite).

If in light of this, you still think that release-candidates are worth the trouble, we probably need more volunteers on the projects to do that additional work.

1reaction
matthew-brettcommented, Jun 1, 2017

Thanks for considering.

I guess that will mean that the easy_install etc installs get what we get now, and other install methods will get a better tested version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python distutils not include the SWIG generated module
The problem is that build_py (which copies python sources to the build directory) comes before build_ext , which runs SWIG. You can easily...
Read more >
31 SWIG and Python
Caution: This chapter is under repair! This chapter describes SWIG's support of Python. SWIG is compatible with most recent Python versions including Python ......
Read more >
ITK 5.2.0 has been released! - Announcements
We are happy to announce the release of Insight Toolkit (ITK) 5.2.0! ... Changes from Release Candidate 3 include an updated Python Quick ......
Read more >
swig-numpy-example/setup.py at master - GitHub
Example project showing how to interface C/C++ arrays and classes with Numpy using SWIG - swig-numpy-example/setup.py at master ...
Read more >
31 SWIG and Python
Running SWIG; Using distutils; Hand compiling a dynamic module ... Compatibility Note: In SWIG-1.3.13 and earlier releases, module names did not include the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found