Skip to content

Commit 9943114

Browse files
committed
Cleanup
1 parent 0f0c726 commit 9943114

File tree

1 file changed

+24
-27
lines changed

1 file changed

+24
-27
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -79,48 +79,45 @@ jobs:
7979
8080
link_check:
8181
runs-on: ubuntu-latest
82-
env:
83-
ZMQ_SYSTEM_LIBZMQ: 1
84-
PYTHON_VERSION: '3.11'
8582
steps:
8683
- uses: actions/checkout@v4
87-
8884
- name: Set up Python 3.11
8985
uses: actions/setup-python@v5
9086
with:
9187
python-version: '3.11'
9288

93-
- name: Display Python version
94-
run: |
95-
python -c "import sys; print(sys.version)"
96-
whereis python
97-
whereis python3
89+
# - name: Display Python version
90+
# run: |
91+
# python -c "import sys; print(sys.version)"
92+
# whereis python
93+
# whereis python3
9894

99-
- name: Force Python 3.11
100-
run: |
101-
sudo update-alternatives --install /usr/local/bin/python python /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
102-
sudo update-alternatives --install /usr/local/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
103-
echo "/usr/local/bin:$PATH" >> $GITHUB_PATH
104-
echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV
105-
sudo update-alternatives --config python3
95+
# - name: Force Python 3.11
96+
# run: |
97+
# sudo update-alternatives --install /usr/local/bin/python python /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
98+
# sudo update-alternatives --install /usr/local/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
99+
# echo "/usr/local/bin:$PATH" >> $GITHUB_PATH
100+
# echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV
101+
# sudo update-alternatives --config python3
106102

107-
- name: Downgrade GCC to version 12
108-
run: |
109-
sudo apt-get install -y gcc-12 g++-12
110-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
111-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
112-
gcc --version
113-
- name: Install system ZeroMQ
114-
run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
115-
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
116-
with:
117-
python-version: '3.11'
103+
# - name: Downgrade GCC to version 12
104+
# run: |
105+
# sudo apt-get install -y gcc-12 g++-12
106+
# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
107+
# sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
108+
# gcc --version
109+
# - name: Install system ZeroMQ
110+
# run: sudo apt-get update && sudo apt-get install -y libzmq3-dev
111+
# - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
112+
# with:
113+
# python-version: '3.11'
118114
- name: Install Python dependencies
119115
run: |
120116
pip install ".[test]"
121117
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
122118
with:
123119
ignore_links: "http://my-gateway-server.com:8888"
120+
python-version: '3.11'
124121

125122
build_docs:
126123
runs-on: windows-latest

0 commit comments

Comments
 (0)