Re: [Cython] cython 3 migration update and next releases

2023-05-21 Thread da-woods



On 20/05/2023 10:59, Stefan Behnel wrote:
It's probably a good time to have a final call for merges. Promoting 
and voting for PRs is welcome.


I've flagged a couple of PRs for possible merging. They're both fairly 
minor Python-compatibility fixes so it probably isn't a disaster if 
they're missed though.


Unfortunately, I doubt I can get the module state refactor into a usable 
state in time.


David

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] cython 3 migration update and next releases

2023-05-21 Thread Stefane Fermigier


On 17/05/2023 14:44, Lisandro Dalcin wrote:



On Tue, 16 May 2023 at 22:10, matus valo  wrote:

 The rationale is that the projects won't start really using
Cython 3 until we do the final release. Now, we have 3 big users
of Cython migrated, hence I think we have some confidence that
Cython 3 is ready. What do you think?


I would not say that mpi4py is a big project, but it is around 15K 
lines of Cython code, and it is also ready for Cython 3. I'll update 
mpi4py requirements to `cython>=3` as soon as Cython 3 is released.



IFAIK, 15k lines of Cython makes it among one of the largest Cython 
projects I'm aware of (I did some research a couple of years ago):


https://github.com/sfermigier/awesome-cython#some-projects-with-more-that-10-000-lines-of-cython-code

  S.

--

Stefane Fermigier - http://fermigier.com/ - 
http://twitter.com/sfermigier - http://linkedin.com/in/sfermigier


Founder & CEO, Abilian - Enterprise Social Software - 
http://www.abilian.com/


Founder & Software Architect - Nua open source PaaS project - 
https://nua.rocks/


Co-Founder & Co-Chairman, National Council for Free & Open Source 
Software (CNLL) - http://cnll.fr/


Co-Founder & Board Member, Association Professionnelle Européenne du 
Logiciel Libre (APELL) - https://www.apell.info/


Co-Founder & Spokesperson, European Cloud Industrial Alliance (EUCLIDIA) 
- https://www.euclidia.eu/
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] cython 3 migration update and next releases

2023-05-21 Thread Dima Pasechnik
SageMath has 700K Cython lines, yet not mentioned.

On Sun, 21 May 2023, 10:21 Stefane Fermigier,  wrote:

>
> On 17/05/2023 14:44, Lisandro Dalcin wrote:
>
>
>
> On Tue, 16 May 2023 at 22:10, matus valo  wrote:
>
>>  The rationale is that the projects won't start really using Cython 3
>> until we do the final release. Now, we have 3 big users of Cython migrated,
>> hence I think we have some confidence that Cython 3 is ready. What do you
>> think?
>>
>
> I would not say that mpi4py is a big project, but it is around 15K lines
> of Cython code, and it is also ready for Cython 3. I'll update mpi4py
> requirements to `cython>=3` as soon as Cython 3 is released.
>
>
> IFAIK, 15k lines of Cython makes it among one of the largest Cython
> projects I'm aware of (I did some research a couple of years ago):
>
>
> https://github.com/sfermigier/awesome-cython#some-projects-with-more-that-10-000-lines-of-cython-code
>
>   S.
>
> --
>
> Stefane Fermigier - http://fermigier.com/ - http://twitter.com/sfermigier
> - http://linkedin.com/in/sfermigier
>
> Founder & CEO, Abilian - Enterprise Social Software -
> http://www.abilian.com/
>
> Founder & Software Architect - Nua open source PaaS project -
> https://nua.rocks/
>
> Co-Founder & Co-Chairman, National Council for Free & Open Source Software
> (CNLL) - http://cnll.fr/
>
> Co-Founder & Board Member, Association Professionnelle Européenne du
> Logiciel Libre (APELL) - https://www.apell.info/
>
> Co-Founder & Spokesperson, European Cloud Industrial Alliance (EUCLIDIA) -
> https://www.euclidia.eu/
> ___
> cython-devel mailing list
> cython-devel@python.org
> https://mail.python.org/mailman/listinfo/cython-devel
>
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] cython 3 migration update and next releases

2023-05-21 Thread Stefan Behnel

Dima Pasechnik schrieb am 21.05.23 um 11:38:

On Sun, 21 May 2023, 10:21 Stefane Fermigier,  wrote:

IFAIK, 15k lines of Cython makes it among one of the largest Cython
projects I'm aware of (I did some research a couple of years ago):

https://github.com/sfermigier/awesome-cython#some-projects-with-more-that-10-000-lines-of-cython-code



> SageMath has 700K Cython lines, yet not mentioned.

Certainly worth mentioning, yes.

Looking at the numbers, I also noticed that lxml is listed in the 5-10k 
lines range. It actually has about 18k lines of Cython code (.pyx/.pxi 
files) and another 1.5k lines in compiled Python (.py) files, according to 
pygount [1]. I tried sloccount first, but that doesn't seem to have Cython 
support.


Might be worth redoing that count for the other projects as well.

Stefan


[1] https://pypi.org/project/pygount/

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] cython 3 migration update and next releases

2023-05-21 Thread Dima Pasechnik
On thing to take care of before the release is to get rid of the hugely outdated
advice to ship generated C/C++ files!

On Sun, May 21, 2023 at 11:24 AM Stefan Behnel  wrote:
>
> Dima Pasechnik schrieb am 21.05.23 um 11:38:
> > On Sun, 21 May 2023, 10:21 Stefane Fermigier,  wrote:
> >> IFAIK, 15k lines of Cython makes it among one of the largest Cython
> >> projects I'm aware of (I did some research a couple of years ago):
> >>
> >> https://github.com/sfermigier/awesome-cython#some-projects-with-more-that-10-000-lines-of-cython-code
> >
>  > SageMath has 700K Cython lines, yet not mentioned.
>
> Certainly worth mentioning, yes.
>
> Looking at the numbers, I also noticed that lxml is listed in the 5-10k
> lines range. It actually has about 18k lines of Cython code (.pyx/.pxi
> files) and another 1.5k lines in compiled Python (.py) files, according to
> pygount [1]. I tried sloccount first, but that doesn't seem to have Cython
> support.
>
> Might be worth redoing that count for the other projects as well.
>
> Stefan
>
>
> [1] https://pypi.org/project/pygount/
>
> ___
> cython-devel mailing list
> cython-devel@python.org
> https://mail.python.org/mailman/listinfo/cython-devel
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel