2 files changed
+2
-2
lines changed+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
2 commit comments
emonty commentedon Mar 8, 2017
FWIW - the reason PyPI doesn't allow replacing releases is that folks have mirrors and also config management that installs things. If one of those people had gotten unlucky enough to have installed 2.1.2 and then PyPI had allowed replacing it, there would have been no way of that user getting upgraded to the working 2.1.3 other than a manual force reinstall. In this particular case, the change you needed to make is obviously innocuous, but there have been cases in the past of there being real legit breaking changes that sneak out in a release that folks have wanted to just replace and it has actually screwed folks.
Mostly just an FYI as to why PyPI doesn't allow replacement. Once a tag or release is out in the wild, it's out there. Rolling forward, as you did, is the safest and most effective way to ensure that people not only get the right thing but get it without being bizarrely broken in the process.
Byron commentedon Apr 9, 2017
@emonty Thanks for pointing it out in such great detail - I see entirely why releases must be read-only after publishing them. However, in my case I was allowed to delete the file associated with a release nonetheless, which caused more trouble down the line as I was not allowed to replace the file (at least not via command-line tools). The system seems inconsistent, which is why I was upset :).