From 2ebe37e71b2747c062d80c42ec02d1044ad668fa Mon Sep 17 00:00:00 2001 From: Diego Rabatone Oliveira Date: Sat, 8 May 2021 14:52:12 -0300 Subject: [PATCH 1/3] Updating submodules --- submodules/astroid | 2 +- submodules/autopep8 | 2 +- submodules/mccabe | 2 +- submodules/pycodestyle | 2 +- submodules/pydocstyle | 2 +- submodules/pyflakes | 2 +- submodules/pylint | 2 +- submodules/rope | 2 +- submodules/toml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/submodules/astroid b/submodules/astroid index 2d25e845..36dda3fc 160000 --- a/submodules/astroid +++ b/submodules/astroid @@ -1 +1 @@ -Subproject commit 2d25e84587c3e392751280490355aaeda7afd116 +Subproject commit 36dda3fc8a5826b19a33a0ff29402b61d6a64fc2 diff --git a/submodules/autopep8 b/submodules/autopep8 index 972093da..32c78a3a 160000 --- a/submodules/autopep8 +++ b/submodules/autopep8 @@ -1 +1 @@ -Subproject commit 972093dad2021ca5214133864af3cd0595830a94 +Subproject commit 32c78a3a07d7ee35500e6f20bfcd621f3132c42e diff --git a/submodules/mccabe b/submodules/mccabe index 535e2c5d..2d4dd943 160000 --- a/submodules/mccabe +++ b/submodules/mccabe @@ -1 +1 @@ -Subproject commit 535e2c5dc8cb9ea8afe79fc4cae5386c20d57394 +Subproject commit 2d4dd9435fcb05aaa89ba0392a84cb1d30a87dc9 diff --git a/submodules/pycodestyle b/submodules/pycodestyle index d4143838..930e2cad 160000 --- a/submodules/pycodestyle +++ b/submodules/pycodestyle @@ -1 +1 @@ -Subproject commit d414383860c483c57d1fafc12c630b46a5616d3c +Subproject commit 930e2cad15df3661306740c30a892a6f1902ef1d diff --git a/submodules/pydocstyle b/submodules/pydocstyle index 33244595..5f59f6eb 160000 --- a/submodules/pydocstyle +++ b/submodules/pydocstyle @@ -1 +1 @@ -Subproject commit 3324459514ddb048fc919ab2ed1f52471b801ab0 +Subproject commit 5f59f6eba0d8f0168c6ab45ee97485569b861b77 diff --git a/submodules/pyflakes b/submodules/pyflakes index c72d6cf1..95fe313b 160000 --- a/submodules/pyflakes +++ b/submodules/pyflakes @@ -1 +1 @@ -Subproject commit c72d6cf1a9a119c1dd7a7674f36da21aea32d828 +Subproject commit 95fe313ba5ca384041472cd171ea60fad910c207 diff --git a/submodules/pylint b/submodules/pylint index 8197144d..3eb0362d 160000 --- a/submodules/pylint +++ b/submodules/pylint @@ -1 +1 @@ -Subproject commit 8197144d82469ed39d1f4f3c345efee198ec9212 +Subproject commit 3eb0362dc42642e3e2774d7523a1e73d71394064 diff --git a/submodules/rope b/submodules/rope index 939dd974..f4b19fd8 160000 --- a/submodules/rope +++ b/submodules/rope @@ -1 +1 @@ -Subproject commit 939dd974835479495cc30710208f7c4a566dd38b +Subproject commit f4b19fd8ccc5325ded9db1c11fe6d25f6082de0c diff --git a/submodules/toml b/submodules/toml index a86fc1fb..3f637dba 160000 --- a/submodules/toml +++ b/submodules/toml @@ -1 +1 @@ -Subproject commit a86fc1fbd650a19eba313c3f642c9e2c679dc8d6 +Subproject commit 3f637dba5f68db63d4b30967fedda51c82459471 From cc29770fa1a1bc9759e50f1b9909e930a5fc0eeb Mon Sep 17 00:00:00 2001 From: Diego Rabatone Oliveira Date: Sat, 8 May 2021 15:08:41 -0300 Subject: [PATCH 2/3] Update github action/workflow --- .github/workflows/test_pymode.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_pymode.yml b/.github/workflows/test_pymode.yml index 7b6bab70..e7efc4fc 100644 --- a/.github/workflows/test_pymode.yml +++ b/.github/workflows/test_pymode.yml @@ -3,15 +3,15 @@ name: Testing python-mode on: [push] jobs: - test-python-3_6: + test-python-3: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Install dependencies run: | sudo apt update - sudo apt install -yqq libncurses5-dev libatk1.0-dev python-dev python3-dev lua5.1 lua5.1-dev libperl-dev git - sudo apt remove --purge vim vim-runtime gvim + sudo apt install -yqq libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev lua5.2 liblua5.2-dev libperl-dev git + sudo apt remove --purge -yqq vim vim-runtime gvim - name: build and install vim from source working-directory: /tmp run: | From f867d28caa6daf8e71788819e7eddcb47827d304 Mon Sep 17 00:00:00 2001 From: Diego Rabatone Oliveira Date: Sat, 8 May 2021 15:20:20 -0300 Subject: [PATCH 3/3] Test for python 3.8 and 3.9 --- .github/workflows/test_pymode.yml | 39 +++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_pymode.yml b/.github/workflows/test_pymode.yml index e7efc4fc..332dcdad 100644 --- a/.github/workflows/test_pymode.yml +++ b/.github/workflows/test_pymode.yml @@ -3,21 +3,56 @@ name: Testing python-mode on: [push] jobs: - test-python-3: + test-python-3_8: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Install dependencies run: | sudo apt update + export PYTHON_CONFIGURE_OPTS="--enable-shared" sudo apt install -yqq libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev lua5.2 liblua5.2-dev libperl-dev git sudo apt remove --purge -yqq vim vim-runtime gvim - name: build and install vim from source working-directory: /tmp run: | + export PYTHON_CONFIGURE_OPTS="--enable-shared" git clone https://github.com/vim/vim.git cd vim - ./configure --with-features=huge --enable-multibyte --enable-python3interp=yes --with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu --enable-perlinterp=yes --enable-luainterp=yes --enable-cscope --prefix=/usr/local + ./configure --with-features=huge --enable-multibyte --enable-python3interp=yes --with-python3-config-dir=/usr/lib/python3.8/config-3.8m-x86_64-linux-gnu --enable-perlinterp=yes --enable-luainterp=yes --enable-cscope --prefix=/usr/local + sudo make && sudo make install + - name: Install python-mode + run: | + export PYMODE_DIR="${HOME}/work/python-mode/python-mode" + mkdir -p ${HOME}/.vim/pack/foo/start/ + ln -s ${PYMODE_DIR} ${HOME}/.vim/pack/foo/start/python-mode + cp ${PYMODE_DIR}/tests/utils/pymoderc ${HOME}/.pymoderc + cp ${PYMODE_DIR}/tests/utils/vimrc ${HOME}/.vimrc + touch ${HOME}/.vimrc.before ${HOME}/.vimrc.after + - name: Run python-mode test script + run: | + alias python=python3 + cd ${HOME}/work/python-mode/python-mode + git submodule update --init --recursive + git submodule sync + bash tests/test.sh + test-python-3_9: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + run: | + sudo apt update + export PYTHON_CONFIGURE_OPTS="--enable-shared" + sudo apt install -yqq libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev lua5.2 liblua5.2-dev libperl-dev git + sudo apt remove --purge -yqq vim vim-runtime gvim + - name: build and install vim from source + working-directory: /tmp + run: | + export PYTHON_CONFIGURE_OPTS="--enable-shared" + git clone https://github.com/vim/vim.git + cd vim + ./configure --with-features=huge --enable-multibyte --enable-python3interp=yes --with-python3-config-dir=/usr/lib/python3.9/config-3.9m-x86_64-linux-gnu --enable-perlinterp=yes --enable-luainterp=yes --enable-cscope --prefix=/usr/local sudo make && sudo make install - name: Install python-mode run: |