Skip to content

Commit

Permalink
Fight bitrot in the 1.30.x branch. (#14147)
Browse files Browse the repository at this point in the history
Mostly due to conan issues since the transition of
the conan center off bintray.

Had to remove a testproject that was too onerous to get working.
  • Loading branch information
benjyw authored Jan 14, 2022
1 parent 495eccd commit 8ce1fb0
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 234 deletions.
35 changes: 0 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=lint.py36
language: python
name: Self-checks and lint (Python 3.6)
Expand Down Expand Up @@ -324,7 +323,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=lint.py37
language: python
Expand Down Expand Up @@ -418,7 +416,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=unit_tests.py36
language: python
name: Unit tests (Python 3.6)
Expand Down Expand Up @@ -477,7 +474,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=unit_tests.py37
language: python
Expand Down Expand Up @@ -534,7 +530,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v1.shard_0.py36
language: python
name: Integration tests - V1 - shard 0 (Python 3.6)
Expand Down Expand Up @@ -590,7 +585,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v1.shard_1.py36
language: python
name: Integration tests - V1 - shard 1 (Python 3.6)
Expand Down Expand Up @@ -646,7 +640,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v1.shard_2.py36
language: python
name: Integration tests - V1 - shard 2 (Python 3.6)
Expand Down Expand Up @@ -702,7 +695,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v1.shard_3.py36
language: python
name: Integration tests - V1 - shard 3 (Python 3.6)
Expand Down Expand Up @@ -758,7 +750,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v1.shard_4.py36
language: python
name: Integration tests - V1 - shard 4 (Python 3.6)
Expand Down Expand Up @@ -814,7 +805,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v1.shard_5.py36
language: python
name: Integration tests - V1 - shard 5 (Python 3.6)
Expand Down Expand Up @@ -870,7 +860,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v1.shard_0.py37
language: python
Expand Down Expand Up @@ -927,7 +916,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v1.shard_1.py37
language: python
Expand Down Expand Up @@ -984,7 +972,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v1.shard_2.py37
language: python
Expand Down Expand Up @@ -1041,7 +1028,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v1.shard_3.py37
language: python
Expand Down Expand Up @@ -1098,7 +1084,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v1.shard_4.py37
language: python
Expand Down Expand Up @@ -1155,7 +1140,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v1.shard_5.py37
language: python
Expand Down Expand Up @@ -1212,7 +1196,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_0.py36
language: python
name: Integration tests - V2 - shard 0 (Python 3.6)
Expand Down Expand Up @@ -1268,7 +1251,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_1.py36
language: python
name: Integration tests - V2 - shard 1 (Python 3.6)
Expand Down Expand Up @@ -1324,7 +1306,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_2.py36
language: python
name: Integration tests - V2 - shard 2 (Python 3.6)
Expand Down Expand Up @@ -1380,7 +1361,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_3.py36
language: python
name: Integration tests - V2 - shard 3 (Python 3.6)
Expand Down Expand Up @@ -1436,7 +1416,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_4.py36
language: python
name: Integration tests - V2 - shard 4 (Python 3.6)
Expand Down Expand Up @@ -1492,7 +1471,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_5.py36
language: python
name: Integration tests - V2 - shard 5 (Python 3.6)
Expand Down Expand Up @@ -1548,7 +1526,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=integration.v2.shard_6.py36
language: python
name: Integration tests - V2 - shard 6 (Python 3.6)
Expand Down Expand Up @@ -1604,7 +1581,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_0.py37
language: python
Expand Down Expand Up @@ -1661,7 +1637,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_1.py37
language: python
Expand Down Expand Up @@ -1718,7 +1693,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_2.py37
language: python
Expand Down Expand Up @@ -1775,7 +1749,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_3.py37
language: python
Expand Down Expand Up @@ -1832,7 +1805,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_4.py37
language: python
Expand Down Expand Up @@ -1889,7 +1861,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_5.py37
language: python
Expand Down Expand Up @@ -1946,7 +1917,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=integration.v2.shard_6.py37
language: python
Expand Down Expand Up @@ -2071,7 +2041,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PREPARE_DEPLOY=1
- CACHE_NAME=wheels.linux
language: python
Expand Down Expand Up @@ -2336,7 +2305,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- CACHE_NAME=jvm_tests.py36
if: commit_message !~ /\[ci skip-jvm-tests\]/
language: python
Expand Down Expand Up @@ -2396,7 +2364,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]"
- CACHE_NAME=jvm_tests.py37
if: commit_message !~ /\[ci skip-jvm-tests\]/
Expand Down Expand Up @@ -2463,7 +2430,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- RUN_PANTS_FROM_PEX=1
- PANTS_PEX_RELEASE=stable
- CACHE_NAME=deploy.stable
Expand Down Expand Up @@ -2520,7 +2486,6 @@ jobs:
dist: xenial
env:
- BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux
- PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem
- RUN_PANTS_FROM_PEX=1
- PREPARE_DEPLOY=1
- CACHE_NAME=deploy.unstable
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fasteners==0.15.0
#
mypy==0.780

Markdown==2.1.1
Markdown==2.6.11
packaging==20.3
pathspec==0.8.0
pex==2.1.24
Expand Down
3 changes: 1 addition & 2 deletions build-support/bin/generate_travis_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def linux_shard(
"jq",
"unzip",
"shellcheck",
]
],
}
},
"language": "python",
Expand All @@ -351,7 +351,6 @@ def linux_shard(
setup["before_script"] = [AWS_GET_PANTS_PEX_COMMAND]
setup["env"] = [
f"BOOTSTRAPPED_PEX_KEY_SUFFIX=py{python_version.number}.linux",
"PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem",
]
setup = {**setup, **CACHE_PANTS_RUN}
if python_version.is_py37:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Conan(PythonToolBase):
options_scope = "conan"
default_version = "conan==1.19.2"
default_version = "conan==1.44.0"
# NB: Only versions of pylint below `2.0.0` support use in python 2.
default_extra_requirements = ["pylint==1.9.3", "astroid<2.0,>=1.6"]
default_entry_point = "conans.conan"
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/native/tasks/conan_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def synthetic_target_type(self, target):
return PackagedNativeLibrary

default_remotes = {
"conan-center": "https://conan.bintray.com",
"conan-center": "https://center.conan.io",
}

@classmethod
Expand Down

This file was deleted.

Empty file.
Empty file.

This file was deleted.

Loading

0 comments on commit 8ce1fb0

Please sign in to comment.