Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #207 (closed task: fixed)

Opened 3 years ago

Last modified 9 months ago

drop compatibility for older python releases

Reported by: matysek Owned by:
Priority: highest Milestone: PyInstaller 2.1
Component: PyInstaller Version:
Severity: minor Keywords:
Cc:

Description

  • I think that support for older python releases should be droped in favor of python 3 support.
  • I think that support for Python < 2.3 should be dropped.
  • Other python projects dropped support for Python < 2.3 or 2.4 in favour of py3 (scons 2.0, sqlalchemy, lxml, waf)

Notes:

  • python 2.3 is available on RHEL4 and derivates
  • source code and tests in svn works now only with python >= 2.3
    • modules platform, zipimport, optparse is in py >= 2.3
    • ctypes in python >= 2.5
  • in branch waf, loader expects in python class exceptions.Warning - in python since 2.1
  • pywin32 builds are available for python >= 2.3

Attachments

pyi-r916-py2.2_and_older-cleanup.patch (93.8 KB) - added by matysek 3 years ago.
some code cleanup when dropping support for python 2.2 and older

Change History

comment:1 Changed 3 years ago by matysek

sys.version_info in py >= 2.0

Changed 3 years ago by matysek

some code cleanup when dropping support for python 2.2 and older

comment:2 Changed 3 years ago by giovannibajo

I think it is reasonable to drop Python 2.3 and older versions whenever we move to support Python 3.0, but I don't think we should do this earlier. There are real world users of Python 2.2 using PyInstaller? for instance, and I know at least one case of Python 2.1.

comment:3 Changed 3 years ago by matysek

  • Milestone PyInstaller 1.5 deleted

comment:4 Changed 3 years ago by matysek

  • Milestone set to PyInstaller 2.0

comment:5 Changed 2 years ago by matysek

  • Milestone changed from PyInstaller 2.0 to PyInstaller 1.6

For 1.6 we would like to make changes for future python3 support (#356). This requires to support only python 2.4+.

comment:6 Changed 22 months ago by matysek

  • Owner changed from giovannibajo to matysek
  • Status changed from new to assigned

For now the only reason to drop python 2.3 support is to use subprocess module instead os.system() for python3 preparation. It makes no sense to drop 2.3 when python3 support is not yet done.

And we could support python 2.3 even when using subprocess module.

We should find out more meaningful reasons why do drop python 2.3 support'''

comment:7 Changed 22 months ago by matysek

  • Priority changed from normal to highest
  • Severity changed from normal to minor

comment:8 Changed 22 months ago by htgoebel

Notable new features in 2.4 are:

  • subprocess module
  • set type is now built in
  • generator expressions
  • Simpler String Substitutions
  • Decorators for Functions and Methods
  • str.rsplit()

So it looks as if the only relevant change/enhancement is the subprocess module.

comment:9 Changed 20 months ago by matysek

  • Owner matysek deleted
  • Status changed from assigned to new

comment:10 Changed 18 months ago by htgoebel

  • Type changed from defect to task

comment:11 Changed 16 months ago by htgoebel

  • Milestone changed from PyInstaller 2.0 to PyInstaller 2.1

comment:12 Changed 9 months ago by matysek

  • Status changed from new to closed
  • Resolution set to fixed

Latest dev version supports only Python 2.4+.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.