Setuptools: Deploys failing due to bootstrapping issues

Created on 14 Jul 2017  路  7Comments  路  Source: pypa/setuptools

Since the acceptance of #1053, the tagged commits are now failing to deploy thus.

@webknjaz Can you take a look and propose a fix?

Most helpful comment

All 7 comments

I believe this should fix it:

diff --git a/.travis.yml b/.travis.yml
index 08834232..cbf49da6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,7 @@ jobs:
     python: *latest_py3
     install: skip
     script: skip
+    before_deploy: python bootstrap.py
     deploy:
       provider: pypi
       on:

I'll try that...

If that works, this build should release v36.2.0.

Sorry, missed that. I'd also suggest adding check for $TRAVIS_TAG to reduce the job running time.

@webknjaz: before_deploy is already called only if there's a deployment.

Yeah, I've already noticed that. Then it's fine for now I think :)

Was this page helpful?
0 / 5 - 0 ratings