Comments (13)
pip's tests also run everyday - a "cron" job on Travis.
So, I feel we should have it here too. It's just a switch in the UI so, that's not anything major IMO.
from get-pip.
Quoting myself from IRC:
How does a "cron job" on Travis CI for the get-pip repo to run some basic sanity checks? I guess it could check against pip's master periodically that way and we'd have something to use as a tester after actually generating it.
Thoughts?
from get-pip.
We'd also need something on appveyor to cover the Windows one I mentioned. Not sure if appveyor also has cron jobs, but if so then yes. We'd need to work out how such a job would trigger a notification, too...
An alternative would be to add a "regenerate and run get-pip" step to the pip test suite. But that may be complicated.
from get-pip.
Step 1 should probably simply be to write some scripts that test get-pip. Even if they have to be run manually in the first instance, we can work on integrating them into CI once we have them :-)
from get-pip.
I normally manually test them when I regenerate them, which is not great.
from get-pip.
If you are the maintainer of OSS project and your CI workflow requires scheduled builds contact AppVeyor team and briefly describe your needs to request this feature.
https://www.appveyor.com/blog/2017/11/08/sheduled-builds-for-free-accounts/
https://www.appveyor.com/docs/build-configuration/#scheduled-builds
from get-pip.
Some further notes, on what's needed here.
- Most of the changes that actually break
get-pip.py
are changes to pip. We do not want to encounter those issues when we buildget-pip.py
during a release. So a test done here has a number of issues: (a) it flags up the problem way too late, and (b) it doesn't pinpoint which pip change brokeget-pip.py
. - Even
generate.installer
only buildsget-pip.py
from released versions on PyPI. What is actually wanted from a test is a build of get-pip from a local version of pip. - We should think carefully about what versions of Python we test on. The copies of
get-pip.py
for Python 2.6 and 3.2 are static, in terms of not changing when new pip versions get released, so we shouldn't test those versions against pip changes. - Having automated tests that can be run when building a release, basically automating what @dstufft described above, would be good. See #31 for my initial take on that. Putting such tests into CI is quite probably not the right thing to do (I doubt it would do any actual harm, but I'm not sure it would help much, either).
For the record, just because I created the issue here didn't mean that I felt that CI on this repository was the answer - and the above comments explain why.
My plan is as follows:
- Get the tests in #31 tidied up and maybe extended a little. Merge that to provide a standard, but manual, way of checking that "all is OK".
- Look at adding a functional test to pip's test suite that creates a
get-pip.py
and tests that it works. - Consider whether adding the tests from (1) should be added to Travis and Appveyor.
from get-pip.
We can do (2) and run that specific test on daily basis with travis.
from get-pip.
(4) As an end-user I would like to see some proof that it's not broken right in my browser w/o needing to understand how to set up env locally and run those tests.
from get-pip.
So your (4) for me counts as a vote in favour of my (3).
We can do (2) and run that specific test on daily basis with travis.
Pip's tests run on every commit and PR. No need for daily runs as well.
from get-pip.
@pfmoore @pradyunsg also note that with Build Stages feature there's an if-clause support on stage/job definition levels, which allows to run completely different set of jobs/stages depending on whether it's normal build or it's cron/API/PR-triggered.
from get-pip.
#37 is something that tells me that we need to do this ASAP. :)
from get-pip.
I think this is resolved with #85.
from get-pip.
Related Issues (20)
- {install,build,which} response HOT 1
- Python versions being tested by CI don't match noxfile HOT 3
- error while running command get-pip.py --no-setuptools HOT 1
- Having difficulty installing and opening PIP in my windows 10 command prompt HOT 1
- remove this? HOT 1
- boostrap.pypa's SSL certificate has expired HOT 4
- ModuleNotFoundError: No module named 'distutils.cmd' HOT 2
- Cx Freeze custom package in project, import error.
- 3.2 installation pip<8 requirements
- Versionned zipapps not available HOT 5
- nox -s generate gives the error "AttributeError: 'HTTPResponse' object has no attribute 'strict'" HOT 2
- Number error HOT 1
- externally-managed-environment HOT 1
- Stop installing setuptools and wheel by default HOT 4
- not all python version could be found in bootstrap.pypa.io/pip HOT 1
- Validating the authenticity of get-pip.py HOT 1
- Error While trying to use pip , pip3 .
- get-pip.py script not compatible with Python 3.7 HOT 4
- [question] Why not keep the raw binary data within get-pip.py?
- [bug] pip not working on python embeddable package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from get-pip.