Bug 204367 - devel/py-pip: Update to 7.1.2
Summary: devel/py-pip: Update to 7.1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-07 17:36 UTC by Kurt Jaeger
Modified: 2015-11-14 15:07 UTC (History)
2 users (show)

See Also:
pi: maintainer-feedback+


Attachments
patch (944 bytes, patch)
2015-11-07 17:36 UTC, Kurt Jaeger
no flags Details | Diff
patch-v2 (5.18 KB, patch)
2015-11-08 08:43 UTC, Kurt Jaeger
no flags Details | Diff
patch-v3 (5.68 KB, patch)
2015-11-08 08:56 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2015-11-07 17:36:17 UTC
Created attachment 162886 [details]
patch

Changes:
  https://pip.pypa.io/en/stable/news/
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-08 04:57:25 UTC
Do regression/unit tests pass?
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 06:31:56 UTC
Testbuilds on 11-cur, 10.2a+i, 9.3a are fine.

Ports that depend on it:

devel/py-pbr (run_dep)
devel/py-wheel (run_dep)
net/py-tweepy (build_dep)
sysutils/osquery (build_dep)
www/py-frappe-bench (run_dep)

Some needs to test those 8-} Any volunteers ?
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-08 06:58:59 UTC
How about unit tests? (see regression-test target)
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 07:41:35 UTC
Oh, a unicorn^Wregression test in this port ?

Here are the results. What can we do with this ?

 12 failed, 464 passed, 7 skipped, 1 pytest-warnings, 8 error in 1085.59 seconds
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 08:00:47 UTC
Running the same test on 7.0.3 gives:

 12 failed, 452 passed, 7 skipped, 1 pytest-warnings, 8 error in 1072.23 seconds
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-08 08:12:15 UTC
(In reply to Kurt Jaeger from comment #5)

Highly unpleasant, but at least the test failure delta is 0 between last_version and latest_version.

Can you:

 * Update the test target to do-test
 * Make MDOCS conditionals options helpers

They look like the only modernization things that are needed.
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 08:43:07 UTC
Created attachment 162896 [details]
patch-v2
Comment 8 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 08:43:48 UTC
Changed the patch to include suggested changes, unsure whether those
are the changes you asked for.
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-08 08:48:54 UTC
Ah, i didn't notice the PORTDOCS/pkg-plist thing, nice.

What i was suggesting was: 

Turn  .if ${PORT_OPTIONS:MDOCS}, into

DOCS_PORTDOCS=
DOCS_VARS=DOCSDIR=
DOCS_VARS=PYDISTUTILS_BUILD_TARGET+=

And turn post-install: into post-install-docs-ON:
Comment 10 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 08:56:50 UTC
Created attachment 162897 [details]
patch-v3

another version, probably even more reduced 8-}
Comment 11 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-08 09:07:54 UTC
@Kurt, Can you pop this up for review please so me and antoine can add some feedback for changes please
Comment 12 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 09:11:32 UTC
From what I can see, the patch does not work for the DOCS stuff (tested, did not find the DOCS in stage/usr/local/share/doc.
Comment 13 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 09:22:47 UTC
Review: https://reviews.freebsd.org/D4106
Comment 14 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 09:57:45 UTC
Note: running the test via do-test target installs the test-depends, which
reduces the number of test failures.
Comment 15 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-08 10:29:19 UTC
New tests with TEST_DEPENDS installed:

7.1.2:
collected 566 items
======== 7 failed, 552 passed, 7 skipped, 1 warnings in 1072.95 seconds ========
 
7.0.3:
collected 555 items
======== 9 failed, 539 passed, 7 skipped, 1 warnings in 1038.99 seconds ========
Comment 16 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-14 14:16:34 UTC
review was OK'ed. Change of maintainer to python was OK'ed in the review, too.
Comment 17 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-14 14:56:34 UTC
net/py-tweepy builds fine
sysutils/osquery fails on databases/rocksdb, which does not seem to be caused
by pip.
Comment 18 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-14 14:57:45 UTC
This is the error for osquery:

/usr/local/lib/librocksdb.a(format.o): In function `rocksdb::LZ4_Uncompress(char const*, unsigned long, int*, unsigned int)':
/usr/ports/databases/rocksdb/work/rocksdb-4.0/./util/compression.h:549: undefined reference to `LZ4_decompress_safe'
Comment 19 commit-hook freebsd_committer freebsd_triage 2015-11-14 15:03:46 UTC
A commit references this bug:

Author: pi
Date: Sat Nov 14 15:02:50 UTC 2015
New revision: 401574
URL: https://svnweb.freebsd.org/changeset/ports/401574

Log:
  devel/py-pip: 7.0.3 -> 7.1.2

  Changes:
    https://pip.pypa.io/en/stable/news/

  See also: https://reviews.freebsd.org/D4106

  PR:		204367
  Reviewed by:	antoine, koobs, nivit
  Approved by:	nivit (maintainer)

Changes:
  head/devel/py-pip/Makefile
  head/devel/py-pip/distinfo
  head/devel/py-pip/files/patch-setup.cfg
  head/devel/py-pip/files/patch-setup.py
  head/devel/py-pip/pkg-plist
Comment 20 Kurt Jaeger freebsd_committer freebsd_triage 2015-11-14 15:07:36 UTC
Committed.