Interested in a pyglet 1.1.4 maintenance release.

5 views
Skip to first unread message

Ben Smith

unread,
Sep 10, 2009, 11:56:30 AM9/10/09
to pyglet-users
Hello,

With pyweek over, I'd like to do what I can to make a pyglet 1.1.4
maintenance release from all the trunk backports done before pyweek.
I'm just testing the waters here, is anyone else interested in a new
maintenance release? If so, which (if any) open issues should be
addressed? How has the release process typically worked, and what can
I do to help it along?


Thanks,
-b

claudio canepa

unread,
Sep 10, 2009, 2:44:20 PM9/10/09
to pyglet...@googlegroups.com
I think it is a good idea: the current release will crash in at least two situations, those are fixed in maintenance.
And, it would be good that the recent bugfixes get tested in the wild, which only would happen if released.
While anyone can be tempted to say 'wait, let fix this or that', I would say 'lets offer a better pyglet now, there always be time to do another release'.
 
The only tempting additions atm are:
Two linux issues, with patches: 452 , 387

but maybe linux people can chime in about how good looking are the patches ?
 
--
claudio
 

Paweł Sobkowiak

unread,
Oct 8, 2009, 12:36:51 AM10/8/09
to pyglet-users
I browsed through SVN logs and it seems that backports were completed
at the end of August.

When will 1.1.4 be released?

On Sep 10, 8:44 pm, claudio canepa <ccanep...@gmail.com> wrote:
> On Thu, Sep 10, 2009 at 12:56 PM, Ben Smith
> <benjamin.coder.sm...@gmail.com>wrote:

Ben Smith

unread,
Oct 9, 2009, 2:14:58 PM10/9/09
to pyglet-users
Howdy - I'm considering throwing together a release candidate in the
next week or so, unless I get a reason not to.

-b

Nicolas Rougier

unread,
Oct 9, 2009, 2:47:47 PM10/9/09
to pyglet...@googlegroups.com


No objection.
Thanks for taking care of the release.

Nicolas

Ben Smith

unread,
Oct 18, 2009, 9:42:18 PM10/18/09
to pyglet-users
It's taking me longer than expected to finish building the
distribution packages.

There are instructions in doc/internal/dist.txt describing how to put
together the release, I'm having problems with generating the
documentation.

My environment throws a traceback with some interaction between
docutils and epydoc when generating the html api reference. Last
couple of lines of the traceback:

File "/usr/local/lib/python2.6/dist-packages/docutils-0.6-py2.6.egg/
docutils/nodes.py", line 129, in walk
visitor.dispatch_visit(self)
File "/usr/local/lib/python2.6/dist-packages/docutils-0.6-py2.6.egg/
docutils/nodes.py", line 1604, in dispatch_visit
return method(node)
File "/home/ben/pygletdev/pyglet-1.1.4-rc1/tools/epydoc/epydoc/
markup/restructuredtext.py", line 305, in visit_paragraph
m = re.match(r'(\s*[\w\W]*?\.)(\s|$)', child.data)
AttributeError: 'Text' object has no attribute 'data'



This may or may not be causing a second error when generating the html
guide:

Generating HTML guide...
Traceback (most recent call last):
File "tools/gendoc_html.py", line 388, in <module>
api_objects = get_api_objects(options.apidoc_dir)
File "tools/gendoc_html.py", line 360, in get_api_objects
apidoc_file = open(os.path.join(apidoc_dir, 'api-objects.txt'))
IOError: [Errno 2] No such file or directory: 'tools/../doc/html/api/
api-objects.txt'

And yeah, that file doesn't exist, though the directory does. I
suspect it's put there by the preceding stage.

The final error I'm seeing I'm also having a hard time tracking down,
I get an ImportError from the line "from docutils.writers import
docbook" and I so far haven't discovered the package that supplies
this.

I'm afraid I'm fairly unfamiliar with these tools, so it could be as
simple as a misconfiguration.

I've been able to put together the .msi package, source package, and
the various eggs and spending some time here and there on these
problems.

-b

Ben Smith

unread,
Oct 27, 2009, 9:12:48 PM10/27/09
to pyglet-users
I've worked around or through all of these issues. I still need to
get a .dmg prepared for osx - and whatever needs to happen with
website things.

-b

Nicolas Rougier

unread,
Oct 28, 2009, 8:24:51 AM10/28/09
to pyglet...@googlegroups.com

I will try to look into that.
Could you give me the command to checkout your version ? (I'm very bad
at using svn)

Nicolas

Ben Smith

unread,
Oct 28, 2009, 5:52:16 PM10/28/09
to pyglet-users
I actually had to do some changes off my tagged version to make things
go which I haven't put back into the repository yet - and I can't til
I get home from work. These shouldn't interfere with the success or
failure of the mac package build, so you can try out what's currently
the head of the pyglet-1.1 maintenance branch.

svn checkout http://pyglet.googlecode.com/svn/branches/pyglet-1.1-maintenance

The file doc/internal/dist.txt outlines this step for making the mac
package:
4. Mac OS X release (requires OS X 10.5 and developer tools
installed)::
NOTE for 10.5: bdist_mpkg doesn't quite work, needs a hack to
avoid
doing the admin write check (you'll see when you
get the
traceback).

sudo tools/genmpkg/genmpkg.sh

Creates .dmg in dist/


The mac .dmg may also require some more modifications to behave
properly.

Nicolas Rougier

unread,
Oct 31, 2009, 8:56:19 AM10/31/09
to pyglet...@googlegroups.com


I've tried compiling the documentation and I also got some errors:

Traceback (most recent call last):
  File "tools/gendoc_pdf.py", line 188, in <module>
    os.path.join(doc_root, 'pdf/programming_guide.pdf'))
  File "tools/gendoc_pdf.py", line 153, in docbook2pdf
    stylesheet = os.path.join(get_docbook_path(), 'fo/docbook.xsl')
  File "tools/gendoc_pdf.py", line 39, in get_docbook_path
    raise "Docbook stylesheets not found...  hack me with a path."
TypeError: exceptions must be classes or instances, not str

(I found the docbook writers from docutils site in the sandbox package :
Look into oliverr directory, for quick installation, just copy the docbook.py intro writers subdirectory of your docutils installation.)

I'm not familiar with docbook and I don't know how to specify a path for docbook stylesheets since I do not knwo where they're supposed to be. If someone got an idea...


Nicolas


Ben Smith

unread,
Nov 1, 2009, 3:42:53 PM11/1/09
to pyglet-users
Thanks for spending some time on this :) I also managed to scrape up
the docbook writer from the sandbox. As far as the docbook xsl thing,
I got it from the ubuntu docbook-xsl package, so that worked out.

I've put the release candidate up on google code, but I'll start a new
thread about that.

-b
Reply all
Reply to author
Forward
0 new messages