[issue5033] setup.py crashes if sqlite version contains 'beta'

2013-02-23 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
stage: needs patch - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2013-02-23 Thread Andreas Pelme

Andreas Pelme added the comment:

This bug still exists in 2.7 and 3.4.

If SQLITE_VERSION in sqlite3.h (/usr/include/sqlite3.h on Mac OS) ends with 
beta, such as
 
#define SQLITE_VERSION3.7.12beta

make will fail.

The regex changed suggested above fixes this. The attached patch contains that 
fix and makes the build work.

--
keywords: +patch
nosy: +Andreas.Pelme
Added file: http://bugs.python.org/file29171/issue5033.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2013-02-23 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 8b177aea9ddd by Petri Lehtinen in branch '2.7':
Issue #5033: Fix building of the sqlite3 extension module
http://hg.python.org/cpython/rev/8b177aea9ddd

New changeset 73d5dd480558 by Petri Lehtinen in branch '3.2':
Issue #5033: Fix building of the sqlite3 extension module
http://hg.python.org/cpython/rev/73d5dd480558

New changeset c613eb716c8e by Petri Lehtinen in branch '3.3':
Issue #5033: Fix building of the sqlite3 extension module
http://hg.python.org/cpython/rev/c613eb716c8e

New changeset 19b3aaf79e45 by Petri Lehtinen in branch 'default':
Issue #5033: Fix building of the sqlite3 extension module
http://hg.python.org/cpython/rev/19b3aaf79e45

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2013-02-23 Thread Petri Lehtinen

Petri Lehtinen added the comment:

Applied, thanks!

--
nosy: +petri.lehtinen
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2013-02-22 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
keywords: +easy
stage:  - needs patch
versions: +Python 3.3, Python 3.4 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2010-11-17 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

The regex is still the same.  I’ll try changing the version string in sqlite 
and trigger the bug.

--
assignee: ghaering - 
nosy: +eric.araujo, tarek
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2010-09-16 Thread Mark Lawrence

Mark Lawrence breamore...@yahoo.co.uk added the comment:

A one line fix is given in msg80370, can this be applied,should the issue be 
closed or what?

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2009-03-20 Thread Gerhard Häring

Changes by Gerhard Häring g...@ghaering.de:


--
assignee:  - ghaering
nosy: +ghaering
priority:  - low

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5033] setup.py crashes if sqlite version contains 'beta'

2009-01-22 Thread blahblahwhat

New submission from blahblahwhat blahbla...@mailinator.com:

When I try to 'make' Python 2.6.1:

Traceback (most recent call last):
  File ./setup.py, line 1880, in module
main()
  File ./setup.py, line 1875, in main
'Lib/smtpd.py']
  File /home/apps/Python-2.6.1/Lib/distutils/core.py, line 152, in 
setup
dist.run_commands()
  File /home/apps/Python-2.6.1/Lib/distutils/dist.py, line 975, in 
run_commands
self.run_command(cmd)
  File /home/apps/Python-2.6.1/Lib/distutils/dist.py, line 995, in 
run_command
cmd_obj.run()
  File /home/apps/Python-2.6.1/Lib/distutils/command/build.py, line 
134, in run
self.run_command(cmd_name)
  File /home/apps/Python-2.6.1/Lib/distutils/cmd.py, line 333, in 
run_command
self.distribution.run_command(command)
  File /home/apps/Python-2.6.1/Lib/distutils/dist.py, line 995, in 
run_command
cmd_obj.run()
  File /home/apps/Python-2.6.1/Lib/distutils/command/build_ext.py, 
line 343, in run
self.build_extensions()
  File ./setup.py, line 103, in build_extensions
missing = self.detect_modules()
  File ./setup.py, line 915, in detect_modules
for x in sqlite_version.split(.)])
ValueError: invalid literal for int() with base 10: '1beta'

This was solved by replacing

  m = re.search(r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*(.*)', incf)

with

  m = re.search(r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*([\d\.]*)', 
incf)

on line 911

--
components: Build
messages: 80370
nosy: blahblahwhat
severity: normal
status: open
title: setup.py crashes if sqlite version contains 'beta'
type: compile error
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5033
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com