Skip to content
Snippets Groups Projects
Commit 559c2d23 authored by Valentin Emiya's avatar Valentin Emiya Committed by Dominique Benielli
Browse files

3.7 to 3.10 compatibility

parent 238e93a0
Branches
Tags
1 merge request!23.7 to 3.10 compatibility
Showing
with 30658 additions and 24265 deletions
# CI Config for ltaftpy / gitlab
default:
cache: # Pip's cache doesn't store the python packages
paths: # https://pip.pypa.io/en/stable/topics/caching/
- .cache/pip
- vendor/
- .apt/
before_script:
- apt-get update
- apt-get install -y --no-install-recommends cmake
- apt-get install -y --no-install-recommends gcc
- apt-get install -y --no-install-recommends g++
- apt-get install -y --no-install-recommends make
- apt-get install -y --no-install-recommends libfftw3-dev
- apt-get install -y --no-install-recommends liblapack-dev
- apt-get install -y --no-install-recommends libjs-jquery-hotkeys
- apt-get install -y --no-install-recommends libjs-jquery-isonscreen
- apt-get install -y --no-install-recommends libjs-jquery-tablesorter
- apt-get install -y --no-install-recommends texlive-latex-extra
- apt-get install -y --no-install-recommends dvipng
- apt-get install -y --no-install-recommends python3
- apt-get install -y --no-install-recommends python3-dev
- apt-get install -y --no-install-recommends python3-setuptools
- apt-get install -y --no-install-recommends python3-pip
- apt-get install -y --no-install-recommends python3-wheel
- apt-get install -y --no-install-recommends python3-tk
- apt-get clean
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip install --upgrade pip
- pip install matplotlib numpy scipy six coverage pytest pytest-cov
# - dpkg -L python3-pytest | xargs file | grep executable
stages:
- test
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
install_and_test_37:
image: registry.lis-lab.fr:5005/dev/ltfatpy/python-ci:3.7
stage: test
before_script:
- echo "image registry 3.7"
script:
- pip3 install -e . --no-deps
- python3 -m pytest
artifacts:
when: always
untracked: true
paths:
- build
exclude:
- build/temp/
expire_in: 8d
install_and_test_310:
image: registry.lis-lab.fr:5005/dev/ltfatpy/python-ci:3.10
stage: test
before_script:
- echo "image registry 3.10"
script:
- pip3 install -e . --no-deps
- python3 -m pytest
artifacts:
when: always
untracked: true
paths:
- build
exclude:
- build/temp/
expire_in: 8d
install_and_test_311:
image: python:3.11
stage: test
script:
- pip3 install cython
- pip3 install --no-build-isolation -e . --no-deps
- python3 -m pytest
artifacts:
when: always
untracked: true
paths:
- build
expire_in: 8d
only:
- ci39-python12
# Tests on X86_64 ubuntu
ubuntu:X86_64:
image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
image: registry.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags:
- docker
script:
before_script:
- pip3 install -e . --no-deps
- py.test-3
script:
- python3 -m pytest
artifacts:
when: always
untracked: true
......@@ -17,12 +109,13 @@ ubuntu:X86_64:
# Tests on i686 ubuntu
ubuntu:i686:
image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:i686
image: registry.lis-lab.fr:5005/dev/ltfatpy/ubuntu:i686
tags:
- docker
script:
before_script:
- pip3 install -e . --no-deps
- py.test-3
script:
- python3 -m pytest
artifacts:
when: always
untracked: true
......@@ -33,6 +126,8 @@ ubuntu:i686:
# doc template
.doc: &doc
script:
- pip3 install setuptools sphinx
- pip install matplotlib numpy scipy six coverage pytest pytest-cov
- pip3 install -e . --no-deps
- python3 setup.py build_sphinx
- cp -r build/sphinx/html public
......@@ -43,7 +138,8 @@ ubuntu:i686:
# Doc Generation
pages:
<<: *doc
image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
# image: registry.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
image: python:3.9
tags:
- docker
only:
......
ltfatpy:1.0.16
ltfatpy:1.0.17
ltfat:2.1.0
Credits
#######
Copyright(c) 2015-2018
Copyright(c) 2015-2025
----------------------
* `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -11,7 +11,7 @@ Copyright(c) 2015-2018
* `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
This software is a port from LTFAT 2.1.0 :
Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
Contributors
------------
......@@ -30,7 +30,7 @@ synthesis.
Version
-------
* ltfatpy version = 1.0.16
* ltfatpy version = 1.0.17
* LTFAT version = 2.1.0
Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
# Credits
# #######
#
# Copyright(c) 2015-2018
# Copyright(c) 2015-2025
# ----------------------
#
# * `LabEx Archimède <http://labex-archimede.univ-amu.fr/>`_
......@@ -13,7 +13,7 @@
# * `Université d'Aix-Marseille <http://www.univ-amu.fr/>`_
#
# This software is a port from LTFAT 2.1.0 :
# Copyright (C) 2005-2018 Peter L. Soendergaard <peter@sonderport.dk>.
# Copyright (C) 2005-2025 Peter L. Soendergaard <peter@sonderport.dk>.
#
# Contributors
# ------------
......@@ -32,7 +32,7 @@
# Version
# -------
#
# * ltfatpy version = 1.0.16
# * ltfatpy version = 1.0.17
# * LTFAT version = 2.1.0
#
# Licence
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment