#10607 closed defect (fixed)
installing ChangeLogMacro from trunk forces Trac deployment to update
| Reported by: | anonymous | Owned by: | Ryan J Ollos | 
|---|---|---|---|
| Priority: | normal | Component: | ChangeLogMacro | 
| Severity: | normal | Keywords: | setuptools | 
| Cc: | Steffen Hoffmann | Trac Release: | 0.12 | 
Description
I was running Trac 0.12.2; I downloaded the zip file of ChangeLogMacro, ran python ./trunk/setup.py install to install the trunk version.  While this completed successfully, it forced my entire Trac deployment to upgrade.  (each project reported an error, and required trac-admin /proj upgrade to be run)  This was unexpected and could cause problems for others.
Attachments (0)
Change History (9)
comment:1 Changed 13 years ago by
| Keywords: | needinfo added | 
|---|---|
| Status: | new → assigned | 
| Trac Release: | → 0.12 | 
comment:2 Changed 13 years ago by
Unfortunately, I didn't record the error, and I can't reproduce it. Since it was on a production instance, I went ahead with the upgrade.
comment:3 Changed 13 years ago by
Okay, thanks for the info. I will try to reproduce the error and follow-up here in a bit.
comment:4 follow-up: 6 Changed 12 years ago by
| Cc: | Steffen Hoffmann added; anonymous removed | 
|---|---|
| Keywords: | setuptools added; needinfo removed | 
I think I see what the issue is now. This is yet another reason to avoid install_requires=['Trac >= X.Y'] in setup.py.
comment:6 Changed 12 years ago by
Replying to rjollos:
I think I see what the issue is now. This is yet another reason to avoid
install_requires=['Trac >= X.Y']insetup.py.
Good catch.




Is the error text Environment needs upgrade? I don't see how ChangeLogMacro could be forcing an upgrade since it doesn't implement
IEnvironmentUpgradeParticipant.