Does anyone know how to print a deprecation warning every time someone runs 'compat'? I have tried putting it in wikipedia.py, but with no results.
Until such time as core has moved all the features over and has proven stable that shouldnt happen. Given the number of problems and missing features that should be a minimum of 6 months away.
On Sun, Jun 1, 2014 at 3:06 PM, Ricordisamoa ricordisamoa@openmailbox.org wrote:
Does anyone know how to print a deprecation warning every time someone runs 'compat'? I have tried putting it in wikipedia.py, but with no results.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 1 June 2014 21:09, John phoenixoverride@gmail.com wrote:
Until such time as core has moved all the features over and has proven stable that shouldnt happen. Given the number of problems and missing features that should be a minimum of 6 months away.
Given that compat is already de facto deprecated -- bugs take ages to fix and review, I think the question is not 'should we deprecate compat', but 'should we notify users compat is de facto deprecated'.
In any case, there is some more discussion at https://www.mediawiki.org/wiki/Requests_for_comment/Deprecate_pywikibot-comp...
Hoi, I have depreceated "compat" by refusing its use. Thanks, GerardM
On 1 June 2014 21:06, Ricordisamoa ricordisamoa@openmailbox.org wrote:
Does anyone know how to print a deprecation warning every time someone runs 'compat'? I have tried putting it in wikipedia.py, but with no results.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 1 June 2014 21:06, Ricordisamoa ricordisamoa@openmailbox.org wrote:
Does anyone know how to print a deprecation warning every time someone runs 'compat'? I have tried putting it in wikipedia.py, but with no results.
This was the trick used for the survey we had two years ago, on deprecating old python versions: https://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?...
2014-06-01 21:57 GMT+02:00 Merlijn van Deen valhallasw@arctus.nl:
This was the trick used for the survey we had two years ago, on deprecating old python versions:
https://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?...
Thank you for calling it a trick. But please don't turn my own contribution against me. :-)
2014-06-01 21:06 GMT+02:00 Ricordisamoa ricordisamoa@openmailbox.org:
Does anyone know how to print a deprecation warning every time someone runs 'compat'? I have tried putting it in wikipedia.py, but with no results.
Fortunately. For God's sake, please, don't even try to dream of that. Leave people to choose without feeling guilty. I will keep in mind every time I use trunk that you don't like it without written warning. Thank you in advance in the name of the planet and mankind.
And sorry for reacting so sharply but we have had enough trouble in the last year because of partially based developments.
It is not a matter of personal tastes, but of actual functionality and progress. Anyway never mind, no consensus → no warning ;-)
Il 01/06/2014 22:27, Bináris ha scritto:
Fortunately. For God's sake, please, don't even try to dream of that. Leave people to choose without feeling guilty. I will keep in mind every time I use trunk that you don't like it without written warning. Thank you in advance in the name of the planet and mankind.
And sorry for reacting so sharply but we have had enough trouble in the last year because of partially based developments.
To me, the actual functionality of core is zero. I have tried to install it three or four times, and failed every time. Just to check again, I did another attempt. First, trying to download and run compat:
download compat try to run answer a number of questions that auto-create a user-config.py ready
Now core: download core read INSTALL try 'python setup.py install' ** 'Python is not recognized as a command' ok, we're running window, so 'setup.py install' instead ** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up
André
On Sun, Jun 1, 2014 at 10:48 PM, Ricordisamoa ricordisamoa@openmailbox.org wrote:
It is not a matter of personal tastes, but of actual functionality and progress. Anyway never mind, no consensus → no warning ;-)
Il 01/06/2014 22:27, Bináris ha scritto:
Fortunately.
For God's sake, please, don't even try to dream of that. Leave people to choose without feeling guilty. I will keep in mind every time I use trunk that you don't like it without written warning. Thank you in advance in the name of the planet and mankind.
And sorry for reacting so sharply but we have had enough trouble in the last year because of partially based developments.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Im the same way, Ive tried setting up core half a dozen times in the last 18 months and each time within 5 minutes Ive run into critical issues that make running it non-feasible
On Sun, Jun 1, 2014 at 5:30 PM, Andre Engels andreengels@gmail.com wrote:
To me, the actual functionality of core is zero. I have tried to install it three or four times, and failed every time. Just to check again, I did another attempt. First, trying to download and run compat:
download compat try to run answer a number of questions that auto-create a user-config.py ready
Now core: download core read INSTALL try 'python setup.py install' ** 'Python is not recognized as a command' ok, we're running window, so 'setup.py install' instead ** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up
André
On Sun, Jun 1, 2014 at 10:48 PM, Ricordisamoa < ricordisamoa@openmailbox.org> wrote:
It is not a matter of personal tastes, but of actual functionality and progress. Anyway never mind, no consensus → no warning ;-)
Il 01/06/2014 22:27, Bináris ha scritto:
Fortunately.
For God's sake, please, don't even try to dream of that. Leave people to choose without feeling guilty. I will keep in mind every time I use trunk that you don't like it without written warning. Thank you in advance in the name of the planet and mankind.
And sorry for reacting so sharply but we have had enough trouble in the last year because of partially based developments.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- André Engels, andreengels@gmail.com
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
OMG... such issues must be discussed and resolved, no matter if compat is to be deprecated or not.
Il 01/06/2014 23:44, John ha scritto:
Im the same way, Ive tried setting up core half a dozen times in the last 18 months and each time within 5 minutes Ive run into critical issues that make running it non-feasible
On Sun, Jun 1, 2014 at 5:30 PM, Andre Engels <andreengels@gmail.com mailto:andreengels@gmail.com> wrote:
To me, the actual functionality of core is zero. I have tried to install it three or four times, and failed every time. Just to check again, I did another attempt. First, trying to download and run compat: download compat try to run answer a number of questions that auto-create a user-config.py ready Now core: download core read INSTALL try 'python setup.py install' ** 'Python is not recognized as a command' ok, we're running window, so 'setup.py install' instead ** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up André
I have raised those issues, My point is until such time as core is free of these issues, and is stable for a long enough period to establish that it is mature enough to be the sole product, which right now I never suggest core to a new user, means that compat, a tested fairly easy to use and stable platform should not be abandoned.
On Sun, Jun 1, 2014 at 5:51 PM, Ricordisamoa ricordisamoa@openmailbox.org wrote:
OMG... such issues must be discussed and resolved, no matter if compat is to be deprecated or not.
Il 01/06/2014 23:44, John ha scritto:
Im the same way, Ive tried setting up core half a dozen times in the last 18 months and each time within 5 minutes Ive run into critical issues that make running it non-feasible
On Sun, Jun 1, 2014 at 5:30 PM, Andre Engels andreengels@gmail.com wrote:
To me, the actual functionality of core is zero. I have tried
to install it three or four times, and failed every time. Just to check again, I did another attempt. First, trying to download and run compat:
download compat try to run answer a number of questions that auto-create a user-config.py ready
Now core: download core read INSTALL try 'python setup.py install' ** 'Python is not recognized as a command' ok, we're running window, so 'setup.py install' instead ** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up
André
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 6/1/14, 2:30 PM, Andre Engels wrote:
ok, we're running window, so 'setup.py install' instead ** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up
I think this is because we specify 'mwparserfromhell' as a dependency in our setup.py. https://github.com/earwig/mwparserfromhell#installation has a workaround, but I'm not sure if we can change that from our setup.py. There's an issue open about distributing Windows binaries with the C modules already built (https://github.com/earwig/mwparserfromhell/issues/68), but it looks stalled since Earwig doesn't use Windows.
Anyways I filed bug 66010 for this. I think for now we shouldn't specify the dependency for Windows users since usage of mwparserfromhell is optional.
-- Legoktm
I use mwph on windows. All you need to do is set the use c library flag to false.
On Sunday, June 1, 2014, Legoktm legoktm.wikipedia@gmail.com wrote:
On 6/1/14, 2:30 PM, Andre Engels wrote:
ok, we're running window, so 'setup.py install' instead
** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up
I think this is because we specify 'mwparserfromhell' as a dependency in our setup.py. https://github.com/earwig/mwparserfromhell#installation has a workaround, but I'm not sure if we can change that from our setup.py. There's an issue open about distributing Windows binaries with the C modules already built (https://github.com/earwig/ mwparserfromhell/issues/68), but it looks stalled since Earwig doesn't use Windows.
Anyways I filed bug 66010 for this. I think for now we shouldn't specify the dependency for Windows users since usage of mwparserfromhell is optional.
-- Legoktm
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
There is an easy way to run core without installing it as side-package: - download core - read README.rst - run pwb.py and answer a number of questions that auto-create a user-config.py or copy and paste your old user_config.py into the topmost folder of core - run your script using pwb.py <scriptname>[<options>]
I disliked installing core because I was running and developing bot scripts in both branches. We created that pwb.py wrapper script during Berlin hackathon as an easy way to have both branches in an easy to use manner without virtualizing environments.
Greetings xqt
----- Original Nachricht ---- Von: Andre Engels andreengels@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 01.06.2014 23:30 Betreff: Re: [Pywikipedia-l] Deprecation of compat
To me, the actual functionality of core is zero. I have tried to install it three or four times, and failed every time. Just to check again, I did another attempt. First, trying to download and run compat:
download compat try to run answer a number of questions that auto-create a user-config.py ready
Now core: download core read INSTALL try 'python setup.py install' ** 'Python is not recognized as a command' ok, we're running window, so 'setup.py install' instead ** something is downloaded, all kind of files are being copied ** error: Setup script exited with error: Unable to find vcvarsall.bat Check the internet (Stack Overflow) and see that it means that the setup program assumes that Visual Studio is installed Check the internet for a download for Visual Studio ** Not free, just a 90 day free trial Say blergh and give up
André
On Sun, Jun 1, 2014 at 10:48 PM, Ricordisamoa ricordisamoa@openmailbox.org wrote:
It is not a matter of personal tastes, but of actual functionality and progress. Anyway never mind, no consensus ? no warning ;-)
Il 01/06/2014 22:27, Bináris ha scritto:
Fortunately.
For God's sake, please, don't even try to dream of that. Leave people to choose without feeling guilty. I will keep in mind every time I use trunk that you don't like it
without
written warning. Thank you in advance in the name of the planet and mankind.
And sorry for reacting so sharply but we have had enough trouble in the last year because of partially based developments.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- André Engels, andreengels@gmail.com
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
For me, keep it as simple as possible is a nice approach. I just read other threads about outer dependencies... Original Pywikibot was simple to copy and transfer on a pendrive with my own settings and modifications and ready to use anywhere as it was with only a pure Python installed. I liked that.
As I wroth with my last mail this behaviour is available since 3th june 2012 using the pwb.py wrapper script.
Greetings xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 02.06.2014 07:30 Betreff: Re: [Pywikipedia-l] Deprecation of compat
For me, keep it as simple as possible is a nice approach. I just read other threads about outer dependencies... Original Pywikibot was simple to copy and transfer on a pendrive with my own settings and modifications and ready to use anywhere as it was with only a pure Python installed. I liked that.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org