Opened 6 years ago

Closed 6 years ago

#56476 closed enhancement (fixed)

py-spyder / py-spyder-devel: make py-spyder the latest stable release, obsolete py-spyder-devel

Reported by: reneeotten (Renee Otten) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-spyder py-spyder-devel

Description

Currently py-spyder provides spyder v2.3.8, which was released ~2.5 years ago and now spyder is in the v3.x series. I am wondering if there is a reason for why the py-spyder port gives the old (obsolete?) version of Spyder, whereas the py-spyder-devel provides the actual latest stable release.

If there is no good reason for doing so I would suggest the following (starting from the py-spyder-devel Portfile):

  1. update dependencies. With the current use of binaries pulling in a few more dependencies doesn't take much time; if any variants should be kept I would suggest to follow the distinction made by upstream between runtime and optional dependencies.
  2. use qt5 by default as is done now. It seem that upstream is phasing out qt4 support anyway, but if deemed useful one could probably support qt4 for now using a variant.
  3. add a spyder_select port to be able to select the preferred version of spyder, when having various py-?? versions installed.
  4. make that the Portfile for py-spyder and set py-spyder-devel to replaced_by py-spyder.

I can attempt to do so and submit a PR, but before doing so I just wanted to make sure I am not missing something that would make this a bad idea...

Change History (4)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: eborisch removed
Owner: set to eborisch
Port: py-spyder, py-spyder-develpy-spyder py-spyder-devel
Status: newassigned

comment:2 Changed 6 years ago by pmetzger (Perry E. Metzger)

Yes, I suggest attempting to do this. Please submit the needed PRs.

comment:3 Changed 6 years ago by reneeotten (Renee Otten)

I have submitted a PR (https://github.com/macports/macports-ports/pull/1848) that will provide the latest release (v 3.2.8) with py-spyder and a development version with py-spyder-devel. Both support qt4 and qt5 through variants and make use of the "select" PortGroup.

comment:4 Changed 6 years ago by reneeotten <reneeotten@…>

Resolution: fixed
Status: assignedclosed

In 6c34014a6137e02b60486a1b89ac6a0ee5b814d9/macports-ports (master):

py-spyder-devel: update to provide development version

  • whitespace changes and reorder/cleanup of Portfile
  • update dependencies and variants
  • support qt4/qt5 through variants
  • update/add patches
  • update post-destroot phase
  • use spyder_select
  • add myself as maintainer

Closes: #56476

Note: See TracTickets for help on using tickets.