Modify

Opened 9 years ago

Closed 9 years ago

#12464 closed defect (fixed)

Avoid unintentional upgrades of Trac when installing AccountManager

Reported by: Ryan J Ollos Owned by: Steffen Hoffmann
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

As summarized in DevGuide#AssertMinimumTracVersionRequirement, Trac can be unintentionally upgraded by installing a plugin with install_requires = ['Trac >= 0.12'].

The attached patch has been shown to be a good solution to the issue.

Attachments (2)

t12464.diff (671 bytes) - added by Ryan J Ollos 9 years ago.
t12464.1.diff (790 bytes) - added by Ryan J Ollos 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Ryan J Ollos

Attachment: t12464.diff added

Changed 9 years ago by Ryan J Ollos

Attachment: t12464.1.diff added

comment:1 Changed 9 years ago by Ryan J Ollos

I was sloppy in creating the initial patch. Corrected patch attached.

comment:2 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 14904:

0.5dev: Enforce minimum required version of Trac.

This removes the check from setup.py and implements it in the
package __init__.py. The change avoids unintentional upgrades
to Trac when installing AccountManagerPlugin into a
less-than-supported version of Trac.

Fixes #12464.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.