Bug 218201 - math/py-numpy upgrade to v1.12.1
Summary: math/py-numpy upgrade to v1.12.1
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: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 02:13 UTC by Eric Camachat
Modified: 2018-01-16 11:46 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
math/py-numpy upgrade to v1.12.1 (52.30 KB, patch)
2017-03-29 02:13 UTC, Eric Camachat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Camachat 2017-03-29 02:13:06 UTC
Created attachment 181285 [details]
math/py-numpy upgrade to v1.12.1
Comment 1 Olivier Duchateau 2017-03-29 20:00:32 UTC
Just to be curious, why use GitHub as host instead of Cheeseshop (default host for Python modules)?

In FreeBSD (not sure for DragonFlyBSD) endian.h is located in sys/ repository.
Comment 2 Eric Camachat 2017-03-29 20:31:35 UTC
(In reply to duchateau.olivier from comment #1)
% curl -i https://pypi.python.org/packages/source/n/numpy/numpy-1.12.1.tar.gz
HTTP/2 404
date: Wed, 29 Mar 2017 20:24:23 GMT
content-type: application/xml
via: 1.1 varnish
fastly-debug-digest: 7135b90adfb53f33276d442366ac5ae1b527aa3fe1dba0cc7eeaea7371c55dce
cache-control: max-age=60, public
accept-ranges: bytes
via: 1.1 varnish
age: 0
x-served-by: cache-sea1035-SEA, cache-sjc3132-SJC
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1490819063.703729,VS0,VE61
x-frame-options: deny
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
content-length: 305

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>source/n/numpy/numpy-1.12.1.tar.gz</Key><RequestId>ED5176715DA1E85C</RequestId><HostId>DR8zTXNw9W4ukpHG8ZVkyNO4AyjNjUhbVeSjwoy19t1hEWvdnEBDLfruR+A/V5gPqdf6bVXJTQc=</HostId></Error>

I guess endian.h path had been fixed in v1.12.0.
https://github.com/numpy/numpy/blob/master/doc/release/1.12.0-notes.rst
https://github.com/numpy/numpy/pull/7885/files
Comment 3 Olivier Duchateau 2017-03-30 17:38:29 UTC
For endian.h, you are right, it has been fixed.

About download host, it's known behaviour. If you check Mk/bsd.sites.mk, look for CHEESESHOP. If tarball is not found in PyPi, pythonhosted.org is used in fallback mode. So CHEESESHOP is still valid.
Comment 4 Eric Camachat 2017-03-30 21:17:34 UTC
(In reply to duchateau.olivier from comment #3)

I guess they don't have v1.12 source tarball, see below.
Also https://www.scipy.org/scipylib/download.html mentioned: "the official repositories hosted on Github.".
So I think download from Github is OK, at least before CHEESESHOP has it.

% make fetch
===>  License BSD3CLAUSE accepted by the user
===>   py27-numpy-1.12.1,1 depends on file: /usr/local/sbin/pkg - found
=> numpy-1.12.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://pypi.python.org/packages/source/n/numpy/numpy-1.12.1.tar.gz
fetch: https://pypi.python.org/packages/source/n/numpy/numpy-1.12.1.tar.gz: Not Found
=> Attempting to fetch https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.12.1.tar.gz
fetch: https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.12.1.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/numpy-1.12.1.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/numpy-1.12.1.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-numpy
Comment 5 Walter Schwarzenfeld 2018-01-16 11:46:17 UTC
Makefile shows:
PORTVERSION=    1.13.3

it is done, so I close.