Re: [sage-devel] snappy in Sage

2018-10-01 Thread Jeroen Demeyer

On 2018-10-01 20:19, kcrisman wrote:

 new = max(os.path.getmtime(file) for file in
glob('cython/core/*.pyx'))

 ValueError: max() arg is an empty sequence


It's bad packaging by upstream: it's running Cython but the Cython 
source files are not in the snappy source tarball.


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] snappy in Sage

2018-10-01 Thread kcrisman
Regarding SnapPy: 

I had the usual SSL problems on Mac, so I did as suggested 
at https://www.math.uic.edu/t3m/SnapPy/installing.html#sagemath and 

sage -i openssl
sage -f python2

did indeed get me to actually download SnapPy.  But then I got (even when 
using ./sage -pip install --no-binary :all: snappy) the following:

Complete output from command python setup.py egg_info:

Please put "# distutils: language=c++" in your .pyx or .pxd file(s)

Traceback (most recent call last):

  File "", line 1, in 

  File 
"/private/var/folders/k8/nj0z1bkd11dcs1v5hbh_tknc92p43w/T/pip-build-41Ncor/snappy/setup.py",
 
line 435, in 

new = max(os.path.getmtime(file) for file in 
glob('cython/core/*.pyx'))

ValueError: max() arg is an empty sequence
Since I don't actually use SnapPy but was testing out the installation for 
a friend, that was kind of disappointing.  Any clues?  This is with 8.3.rc0 
(I didn't see anything indicating I needed an 8.4 beta).

- kcrisman

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Can't pull from develop branch.

2018-10-01 Thread Emmanuel Charpentier
Well... on a machine that was stille at 8.4.beta4, I stumble on the same 
point :

charpent@p-202-021:/usr/local/sage-8$ git pull
error: cannot lock ref 
'refs/remotes/origin/u/embray/python3/sage-rings-polynomial-polydict/misc': 
'refs/remotes/origin/u/embray/python3/sage-rings-polynomial-polydict' 
existe ; impossible de créer 
'refs/remotes/origin/u/embray/python3/sage-rings-polynomial-polydict/misc'
Depuis git.sagemath.org:sage
 ! [nouvelle branche]  
u/embray/python3/sage-rings-polynomial-polydict/misc -> 
origin/u/embray/python3/sage-rings-polynomial-polydict/misc  (impossible de 
mettre à jour la référence locale)
 * [nouvelle étiquette]8.4.beta5  -> 8.4.beta5
 * [nouvelle étiquette]8.4.beta6  -> 8.4.beta6

More pruning seems needed... I got unwedged by Volker's "git remote update 
origin --prune". Thanks again, Volker !


Le vendredi 28 septembre 2018 14:53:57 UTC+2, Erik Bray a écrit :
>
> Yes, I think you're right.  I deleted the problematic branch from that 
> repository and restarted the mirroring so we'll see.  GitLab even 
> reported "Invalid reference name" as the relevant error. 
>
> Well, hopefully I won't make that mistake again! 
> On Fri, Sep 28, 2018 at 2:49 PM Dima Pasechnik  > wrote: 
> > 
> > By the way, I would not be surprised if the mirror 
> > https://gitlab.com/sagemath/dev/trac 
> > failed to update due to the same problem on git.sagemath.org 
> > 
> > Read-only mirror of all the branches that are on trac.sagemath.org 
> > 
> > Project ID: 6249490 
> > 
> > Mirrored from git://git.sagemath.org/sage.git. 
> >  The repository failed to update 1 week ago. 
> > Repository mirroring has been paused due to too many failed attempts, 
> and can be resumed by a project maintainer. 
> > Last successful update 2 weeks ago. 
> > 
> > 
> > On Saturday, September 22, 2018 at 9:19:32 PM UTC+1, Erik Bray wrote: 
> >> 
> >> Try 
> >> 
> >> $ git branch -d origin/u/embray/python3/sage-rings-polynomial-polydict 
> >> 
> >> You wouldn't have the above branch without "origin" unless you created 
> a remote tracking branch. It's only remote branches which you're having a 
> problem with 
> >> 
> >> (note: this happened because I had an older branch named 
> u/embray/python3/sage-rings-polynomial-polydict, which I deleted, but then 
> I added a new branch called ...polydict/misc, and git gets ornery about 
> cases like that). 
> >> 
> >> Also, if I were you, I'd update my remote refspec to only fetch your 
> own branches. E.g., I only sync my branches by default like 
> >> 
> >> [remote "origin"] 
> >> url = g...@git.sagemath.org:sage.git 
> >> fetch = +refs/heads/u/embray/*:refs/remotes/u/embray 
> >> 
> >> In the (typically less common) case where you want to fetch someone 
> else's branch you can still give the branch name manually with the `git 
> fetch` command. 
> >> 
> >> 
> >> On Sat, Sep 22, 2018, 20:27 Emmanuel Charpentier <
> emanuel.c...@gmail.com> wrote: 
> >>> 
> >>> Thanks, Dimitri ! 
> >>> 
> >>> But I'm not out of the woods : I do not know how to delete this 
> branch. Git tells me it doesn't know about it : 
> >>> 
> >>> charpent@asus16-ec:/usr/local/sage-8$ git branch -d 
> u/embray/python3/sage-rings-polynomial-polydict 
> >>> error: branche 'u/embray/python3/sage-rings-polynomial-polydict' non 
> trouvée. 
> >>> 
> >>> And indeed : 
> >>> 
> >>> charpent@asus16-ec:/usr/local/sage-8$ git branch --list 
> >>> * develop 
> >>>   master 
> >>>   r344_8_2 
> >>>   r344_8_3b0 
> >>>   t/24107/inclusion_of_openssl__stage_1 
> >>> 
> >>> How can I proceed ? 
> >>> 
> >>> Le samedi 22 septembre 2018 20:11:17 UTC+2, Dima Pasechnik a écrit : 
>  
>  On Sat, Sep 22, 2018 at 7:10 PM Dima Pasechnik  
> wrote: 
>  > 
>  > You are not the one hit by this particular branch of our vast git 
> tree. See 
>  
>  "the one" -> "the only one" 
>  
>  > https://trac.sagemath.org/ticket/24762#comment:15 
>  > and the following comments. 
>  > 
>  > 
>  > 
>  > On Sat, 22 Sep 2018, 18:53 Emmanuel Charpentier, <
> emanuel.c...@gmail.com> wrote: 
>  >> 
>  >> I wanted to update my (current) sage 8.4-beta4 to beta6 
>  >> 
>  >> Fetch works okay. Then : 
>  >> 
>  >> charpent@asus16-ec:/usr/local/sage-8$ git status 
>  >> Sur la branche develop 
>  >> Votre branche est en retard sur 'origin/develop' de 652 commits, 
> et peut être mise à jour en avance rapide. 
>  >>   (utilisez "git pull" pour mettre à jour votre branche locale) 
>  >> 
>  >> Fichiers non suivis: 
>  >>   (utilisez "git add ..." pour inclure dans ce qui sera 
> validé) 
>  >> 
>  >> src/sage/libs/cypari2/ 
>  >> 
>  >> (Note : I have had this one for a long time. It seems to be a 
> sequel of a booboo in Sages git history. It is probablu *not* relevant to 
> my current problem).. 
>  >> 
>  >> aucune modification ajoutée à la validation mais des fichiers non 
> suivis sont présents (utilisez 

Re: [sage-devel] sage foundation ???

2018-10-01 Thread Sylvain Corlay
Setting up the NumFOCUS EU is work in progress. We will be posting more 
information on it very soon.

Best,

Sylvain

On Sunday, September 30, 2018 at 5:22:53 AM UTC+2, Jason Grout wrote:
>
> The Europe/NumFOCUS situation would be a good thing to reach out to Andy 
> or Leah about.
>
> Jason
>
>
> On Sat, Sep 29, 2018 at 5:10 AM Erik Bray  > wrote:
>
>> On Fri, Sep 28, 2018 at 10:03 PM Harald Schilly
>> > wrote:
>> >
>> >
>> >
>> > On Monday, September 24, 2018 at 3:12:12 PM UTC+2, kcrisman wrote:
>> >>
>> >>  Certainly R and probably other similar mathematical FLOSS does have 
>> foundations...
>> >
>> >
>> > I just came across this thread. Many years ago I had the idea to setup 
>> an european "sage foundation" similar to the one of R. My main thoughts 
>> where that this gives european users a way to organize us over here, while 
>> the UW parent foundation works well for the US. The R foundation [1] is 
>> situated in Vienna, Austria (incidentally where I live :-) and it's 
>> absolutely not not a bureaucratic hassle to set up a nonprofit organization 
>> like that over here. The real challenge is to find a couple of people who 
>> stick together and run it (a dedicated core team). Going with NumFocus 
>> sounds like a good idea, but it's also an US entity.
>>
>> I believe I've heard--unless I'm misremembering something else--that
>> there is some interest in setting up a European-based NumFOCUS
>> companion organization.  That would be a good thing if so.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+...@googlegroups.com .
>> To post to this group, send email to sage-...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/sage-devel.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.