New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade patchbot to 2.6.1 as a system package #20736
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
I tried and failed so far. Help is required, please. New commits:
|
Branch: public/20736 |
Commit: |
comment:3
Not related to installation problem, but in the
That is, if |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
BTW, when building a source package of a Python project, use |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
I am making some slow progress. |
This comment has been minimized.
This comment has been minimized.
comment:10
There is a fundamental problem here, mentioned also at sagemath/sage-patchbot#79 We cannot use the Sage Python for the patchbot, since the patchbot might reinstall Python. So I don't know what the best solution is, but installing it "the usual way" is not the right thing to do here. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
So it's a build dep for Sage and should be installed "the usual way" using the system Python. |
comment:13
Replying to @embray:
I don't get why you say a "build dep", but I agree with the second part. |
comment:14
I changed the name of the package back to sage-patchbot. But I am little bit stuck here. It kind of worked with the package name "patchbot", but it was installed in SAGE_LOCAL. |
comment:15
Replying to @jdemeyer:
"build dep" is probably the wrong description--but I just meant a developer tool for development of Sage, outside the sage distribution. |
comment:16
Replying to @fchapoton:
To be clear, this is a case where the term "package" is often overloaded in Python:
I think the main takeaway here is that the patchbot should not be a Sage spkg at all. It's not a part of sage, the distribution. It's a tool for testing sage the distribution and as such should be entirely external to it. So to install the patchbot on say a Linux system one would use Alternatively this can be done within a virtualenv if we prefer to avoid the system install. |
This comment has been minimized.
This comment has been minimized.
comment:18
This is becoming urgent, to cope with https trac. I tried to go back to the previous way but this is not working. It complains about
I need help. Should I just remove all relative imports newly introduced ?? should I keep the strange source dir of patchbot inside the local/bin directory ?? |
comment:144
Since this ticket seems not to reach a consensus, what about splitting it into two part:
I can volonteer to implement the first point on top of the latest beta ;) |
comment:145
Replying to @sagetrac-tmonteil:
Doesn't "deprecate the related So I would rather split up as
|
comment:146
OK, see #22473. Replying to @jdemeyer:
OK, I did not deprecate the command, but since the current |
comment:147
Replying to @sagetrac-tmonteil:
For the record: in my opinion, nothing needs to be fixed since nothing is broken. |
comment:148
Replying to @sagetrac-tmonteil:
It's also an invitation to move the current discussion on this ticket to an edit war on that wiki page, so I am not so happy with that. |
comment:149
Replying to @jdemeyer:
OK, i removed that commit, the goal is to get rid of this broken optional package earlier, without entering the picky part of the current ticket. |
comment:150
I think IIRC I was fine with keeping I don't know why we're talking about |
comment:151
What I want in particular is to install the patchbot within the Sage environment and have Of course, I am totally open to supporting any other use cases too (unlike some other people who explicitly do not want to suppport my use case). |
comment:152
Was there some reason that wouldn't work? That is, if you ran |
Dependencies: #22473 |
comment:154
Replying to @embray:
...in a directory which might not be the default |
comment:156
Rebased to #22473. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:158
Let's start over... |
comment:159
Replying to @jdemeyer:
That would imply someone has their |
comment:161
I wonder what made you change your mind... This code (which has been there since [comment:101]) has been attacked by several people for 6 months and now it suddenly has positive_review? |
comment:162
My feeling at this point is along the lines of "I'm not going to use it, but if it suits your needs then fine." :) |
Changed branch from public/20736 to |
The patchbot is currently installing in a very not kosher way, as explained in
sagemath/sage-patchbot#79
This ticket will change completely the installation mode. The patchbot will become a python package, to be installed using pip in
the system python as explained below.
This ticket also updates the patchbot, in particular to cope with the new https trac.
New tarball for patchbot: http://www-irma.u-strasbg.fr/~chapoton/sage-patchbot-2.6.1.tar.gz
installation (two equivalent methods at your disposal):
There are now two possible ways to launch the patchbot:
1.
or
2. Checkout the branch here and run
Depends on #22473
CC: @embray @jdemeyer
Component: packages: optional
Keywords: patchbot
Author: Frédéric Chapoton
Branch/Commit:
c9c4101
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/20736
The text was updated successfully, but these errors were encountered: