Opened 18 months ago

Last modified 2 months ago

#12569 new task

Release AccountManager 0.5

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


This ticket will track the 0.5 release of AccountManagerPlugin.

Attachments (1)

accountmanager_session_log (19.3 KB) - added by Ryan J Ollos 2 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 18 months ago by Ryan J Ollos

The following tickets can be resolved in the release, per my review: #12534, #12058, #12054, #12050, #12024, #11991, #11879, #11867, #11798, #11469, #11312, #11215, #11213, #11111, #11090, #11038, #10945, #10829, #10772, #10754, #10745, #10742, #10741, #10740, #10739, #10684, #10682, #10680, #9946, #8930, #8796, #8595, #8217, #7426, #6788,

Before the release I'll also resolve the following tickets: #12228, #12192, #12077, #11915, #11869, #11622, #11545, #10743,

Please let me know if I'm mistaken about the status of any of these tickets. I went through them very quickly. It would take me at least an entire day to read through all the tickets. I don't have time for that in the near future and I feel it's important to push out a release, even if it's not perfect.

Last edited 5 months ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 12 months ago by Ryan J Ollos

AccountManagerPlugin 0.5 will be compatible with Trac 1.0 and later (comment:3:ticket:12722).

comment:3 Changed 2 months ago by anonymous

Trac 1.2 was released back in November. Any chance of a compatible release soonish?

comment:4 Changed 2 months ago by Ryan J Ollos

The current trunk works with Trac 1.2. You can install directly from the trunk if you need Trac 1.2 support. There are some open issues you may want to review to see if they'll affect your installation.

comment:5 Changed 2 months ago by Paul Howarth

Test suite in trunk doesn't seem to run at all:

cd TracAccountManager-0.5dev-r16056
+ /usr/bin/python2 test
running test
running egg_info
writing requirements to TracAccountManager.egg-info/requires.txt
writing TracAccountManager.egg-info/PKG-INFO
writing top-level names to TracAccountManager.egg-info/top_level.txt
writing dependency_links to TracAccountManager.egg-info/dependency_links.txt
writing entry points to TracAccountManager.egg-info/entry_points.txt
reading manifest file 'TracAccountManager.egg-info/SOURCES.txt'
reading manifest template ''
warning: no previously-included files found matching 'contrib/'
writing manifest file 'TracAccountManager.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "", line 103, in <module>
  File "/usr/lib64/python2.7/distutils/", line 151, in setup
  File "/usr/lib64/python2.7/distutils/", line 953, in run_commands
  File "/usr/lib64/python2.7/distutils/", line 972, in run_command
  File "/usr/lib/python2.7/site-packages/setuptools/command/", line 211, in run
  File "/usr/lib/python2.7/site-packages/setuptools/command/", line 234, in run_tests
  File "/usr/lib64/python2.7/unittest/", line 94, in __init__
  File "/usr/lib64/python2.7/unittest/", line 149, in parseArgs
  File "/usr/lib64/python2.7/unittest/", line 158, in createTests
  File "/usr/lib64/python2.7/unittest/", line 130, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib64/python2.7/unittest/", line 100, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'tests'

Is that normal or am I missing something? I expected a few test failures but not for the whole suite not to run.

Changed 2 months ago by Ryan J Ollos

Attachment: accountmanager_session_log added

comment:6 in reply to:  5 Changed 2 months ago by Ryan J Ollos

Replying to Paul Howarth:

Is that normal or am I missing something? I expected a few test failures but not for the whole suite not to run.

It works fine for me, no test failures. See accountmanager_session_log.

Invoking the module directly will sometimes reveal import or syntax errors:

$ python develop
$ python acct_mgr/tests/

comment:7 Changed 2 months ago by Paul Howarth

Ah, got it. I'm trying to do downstream packaging of the plugin, and my first step was to create a "release tarball" using "python sdist". When I did that, the directory structure I got didn't include the tests, which was because of this line in

packages = find_packages(exclude=['*.tests*']),

If I edited that to:

packages = find_packages(),

then the tests were included in the tarball and I was able to run them successfully.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Ryan J Ollos.

Add Comment

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

Note: See TracTickets for help on using tickets.