[sage-devel] Re: Urgent and important: Please vote on disputed PR #36964 (next step of the modularization project)

2024-04-23 Thread 'tobia...@gmx.de' via sage-devel
In reply to the comment (https://github.com/sagemath/sage/pull/36676#issuecomment-2067371677) >> My fear would be that at some point there is a request not to use symbolics in some module, because Lisp is hard to install on some system. >That should not happen. Modularization is downstream to

Re: [sage-devel] Re: Proposal (redo): Make python_build (and its dependency pyproject_hooks) a standard package

2024-04-14 Thread 'tobia...@gmx.de' via sage-devel
-1 The usage of "setup.py sdist" or "setup.py bdist_wheel" only happens in certain edge cases (e.g. the almost un-documented `--enable-wheels` option) and in these cases it is no problem to require developers to run `pip install build` beforehand. So these last remaining instances of calling

Re: [sage-devel] Urgent: Please vote on these "disputed" PRs

2024-04-10 Thread 'tobia...@gmx.de' via sage-devel
> 4. Please vote -1 on https://github.com/sagemath/sage/pull/36580, https://github.com/sagemath/sage/pull/36753, and https://github.com/sagemath/sage/pull/37138, which attempt to obstruct the modularization project and the mechanism for the distribution on PyPI. Please refrain from such

Re: [sage-devel] Re: Sage's Code of Conduct: proposed changes

2024-03-04 Thread 'tobia...@gmx.de' via sage-devel
I think Martin raises important points and agree that 0-4 should be added to the code of conduct (more in spirit than in this particular formulation; for example, I like the proposed reformulations of David). Point 5 is important as well, but I would say it's enough to spell out the rules

[sage-devel] Re: Unload "blocker" label

2024-02-25 Thread 'tobia...@gmx.de' via sage-devel
Just move "usage 2" to a new label. Would be more intuitive and explicit in my opinion. On Monday, February 26, 2024 at 1:25:34 PM UTC+8 Kwankyu Lee wrote: > Hi > > "blocker" label is overloaded too much. It is used for > > usage 1: PRs that should be merged to the next release > usage 2: PRs

Re: [sage-devel] Re: Proposal: Make pytest, pytest_xdist, pytest_mock, python_build standard packages

2024-02-19 Thread 'tobia...@gmx.de' via sage-devel
+1 for the one-line change of the type from "optional" to "standard". -1 on everything ("standard pip" or "standard wheel") that involves an unnecessary version constraint and an explicit declaration of the runtime dependencies. On Saturday, February 17, 2024 at 4:51:45 PM UTC+8 Dima

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-19 Thread 'tobia...@gmx.de' via sage-devel
This discussion about the need to fix the version of pytest *and its runtime dependencies* is almost comical. We are installing and running pytest successfully since 3 years without any version requirement via pip in ci and experienced zero issues. We are also not alone in that. For example,

[sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-12 Thread 'tobia...@gmx.de' via sage-devel
+1 for both proposals. Via "pip download" (https://pip.pypa.io/en/stable/cli/pip_download/) it is easy to resolve and download all pip packages on a system with internet connection, and then later on the target system install it without the need for internet. On Tuesday, February 13, 2024 at

[sage-devel] Re: Policy for disputed PRs: discussion

2023-11-29 Thread tobia...@gmx.de
At first I was very enthusiastic about this proposed policy, but after thinking about this for a bit I'm no longer convinced this is a good idea. First of all, the policy sets out to solve the case "where there is a general consensus, but one person (or a few people) disagree". In my

Re: [sage-devel] Accidential push to develop

2023-11-15 Thread tobia...@gmx.de
wrote: > > > > On Tue, Nov 14, 2023 at 9:29 AM tobia...@gmx.de wrote: > > > > > > Hi everybody, > > > > > > I just accidentally pushed to the develop branch (instead of to a new > branch in my fork). I'm very sorry! I leave it to the release manage

[sage-devel] Accidential push to develop

2023-11-14 Thread tobia...@gmx.de
Hi everybody, I just accidentally pushed to the develop branch (instead of to a new branch in my fork). I'm very sorry! I leave it to the release manager to revert/fix it to not introduce more issues. What confuses me, however, is how this was possible in first place?! I thought we had branch

Re: [sage-devel] Meson Build System

2023-10-25 Thread tobia...@gmx.de
elp, I'm available and very familiar with meson. > On 21.10.23 05:24, tobia...@gmx.de wrote: > > https://github.com/sagemath/sage/pull/36489 now implements a basic meson > setup that replaces autoconf for sage library. Given the complexities > mentioned above, I've restricted att

Re: [sage-devel] Meson Build System

2023-10-20 Thread tobia...@gmx.de
https://github.com/sagemath/sage/pull/36489 now implements a basic meson setup that replaces autoconf for sage library. Given the complexities mentioned above, I've restricted attention to when all the dependencies are provided via conda, which reduced the problem to something manageable.

[sage-devel] Re: Our github checks...

2023-10-16 Thread tobia...@gmx.de
I've now set some of the github checks as "required", so they get a small tag in the checks list. That should take care of (2). (Hopefully, it doesn't break Volker's workflow - it shouldn't, because he has the rights to overwrite any branch protection rules.) On Monday, October 16, 2023 at

Re: [sage-devel] Python return types

2023-09-06 Thread tobia...@gmx.de
Currently, the biggest problem for the type checker is that Cython is not emitting any type annotations, so pratically all cython classes are `any` (which is probably also the reason why the Integer return value is not flagged). For now, one would need to generate the `pyi` stub files (using

Re: [sage-devel] ping - please cast you vote: VOTE: Follow NEP 29: Recommended Python version

2023-05-30 Thread tobia...@gmx.de
On Wednesday, May 31, 2023 at 1:20:51 AM UTC+8 Matthias Koeppe wrote: But the proposed vote (Tobias's PR https://github.com/sagemath/sage/pull/35403/files) proposes to write a strict, prescriptive interpretation into the project''s policies. The policy should serve as a guideline for "normal

Re: [sage-devel] ping - please cast you vote: VOTE: Follow NEP 29: Recommended Python version

2023-05-30 Thread tobia...@gmx.de
Sorry for the confusion. I forgot that there are different readings of NEP29 and that this lead to misunderstandings before. The proposed policy is that all python versions supported by NEP29 are also supported by sage (this is the lower bound) and that we normally drop support for older

Re: [sage-devel] ping - please cast you vote: VOTE: Follow NEP 29: Recommended Python version

2023-05-30 Thread tobia...@gmx.de
On Wednesday, May 31, 2023 at 12:01:04 AM UTC+8 Nils Bruin wrote: I'd say the process for NEP 29 has now become so muddled that it's better to start clean: Set a week (is that enough? do we need more?) for discussion, then open a thread collecting votes *ONLY* (no comments) for another week,

Re: [sage-devel] What was/is/will be the purpose of maintaining the Sage distribution?

2023-05-06 Thread tobia...@gmx.de
What is now the plan of action? In my experience, the conda workflow is currently already more stable than using sage distribution. Conda so far never failed to install a dependency for me (but there were some minor hick-ups with the integration in sage from time to time), while I was always

Re: Re: [sage-devel] ChatGPT is an expert in SageMath too

2023-04-22 Thread tobia...@gmx.de
I assume in the short term, one of the most interesting application of (Chat)GPT for sage might be the "Copilot for docs" project from github: https://githubnext.com/projects/copilot-for-docs/ They train the model on the official docs (/ source code?) and thus are able to provide better

[sage-devel] Re: can no longer push to trac from ubuntu 22.04

2022-05-08 Thread tobia...@gmx.de
Given the recent issues with the git repo at trac, should we allow pushes to the github mirror and sync them back to trac using e.g. https://github.com/trac-hacks/trac-github? Would also simplify the contribution guide, since its easier to push to github than setting up trac using ssh etc.

Re: [sage-devel] Whats the plan for random doctests with floating point numbers?

2021-12-30 Thread tobia...@gmx.de
It would also be an idea to replace these absolute tolerance tests, i.e. abs(x - y) < something, by a relative tests abs(x-y)/x < something. In general, this should be more stable. Such an approach is used by pytest, see https://docs.pytest.org/en/6.2.x/reference.html#pytest-approx. Maybe this

[sage-devel] Free Github Teams for non-profit orgs

2021-10-14 Thread tobia...@gmx.de
Github supports non-profit organizations by giving them a free team plan. I'm not sure about the legal status of sage, but maybe its worth trying: https://support.github.com/contact/nonprofit. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

[sage-devel] Re: How to modularize for fun and profit, II: MONOREPO vs. MULTIREPO

2021-10-14 Thread tobia...@gmx.de
I think the discussion and the initial post mixes a few things that are not really related to the question of mono- vs multi-repo. In particular, the question of how to continue with trac is somewhat orthogonal (you can easily have a monorepo on github or multiple trac repos). In the end, it

[sage-devel] Pretty print in IPython

2021-02-02 Thread tobia...@gmx.de
Hello, I'm using sage in an existing Jupyter notebook (that is using a 'normal' Python backend, and *not* sage). This works great except that all the output is plain text instead of a nice latex or image presentation (symbolic expressions, plots, ...). I was able to activate pretty printing

Re: [sage-devel] Re: incremental migration to github? [prompted by FUNDING issues!!!]

2021-01-12 Thread tobia...@gmx.de
For what's worth, + 1 for migrating to github. The interface is cleaner, it has many more features and integrations, and is more active which could attract more contributions. There are a few scripts/tools that allow to migrate from trac to github. But most of them are unmaintained for a few

Re: [sage-devel] Hacktoberfest spam

2020-10-05 Thread tobia...@gmx.de
Just handle the PRs as would handle them normally. If these small PRs improve something, simply merge them; if not close them saying why. Although there are definitely people that just want to get a Tshirt (or other swag), one should keep in mind that the idea of the hacktoberfest is to get

[sage-devel] Re: Unittests vs doctests

2020-09-07 Thread tobia...@gmx.de
ies etc) and use dependency injection - Test code can rely on additional libraries and other code, that doesn't need to be shipped On Saturday, September 5, 2020 at 7:45:53 PM UTC+2 Nils Bruin wrote: > On Friday, September 4, 2020 at 11:18:18 AM UTC-7, tobia...@gmx.de wrote: >&g

[sage-devel] Re: Unittests vs doctests

2020-09-04 Thread tobia...@gmx.de
://trac.sagemath.org/ticket/28936 On Friday, September 4, 2020 at 7:30:53 PM UTC+2 Matthias Koeppe wrote: > On Friday, September 4, 2020 at 7:02:27 AM UTC-7, tobia...@gmx.de wrote: > >> I noticed that there are a lot of doctests in the existing code that test >> rather

[sage-devel] Unittests vs doctests

2020-09-04 Thread tobia...@gmx.de
Hi everybody, I'm currently in the progress of cleaning up my code implementing symplectic structures in sage. While doing so, I noticed that there are a lot of doctests in the existing code that test rather elementary things. These are often not utterly important for a user of the method,