Skip to content

Commit

Permalink
Version 0.8.
Browse files Browse the repository at this point in the history
Merge branch 'release/0.8'
  • Loading branch information
vnmabus committed Dec 31, 2022
2 parents 12dda51 + d0d7a90 commit f59540e
Show file tree
Hide file tree
Showing 250 changed files with 18,082 additions and 9,147 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
name: Mypy
steps:
- uses: actions/checkout@v2
- uses: tsuyoshicho/action-mypy@v1
- uses: tsuyoshicho/action-mypy@v3
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
reporter: github-pr-review
# Change reporter level if you need.
# GitHub Status Check won't become failure with warning.
level: warning
mypy_flags: ''
mypy_flags: ''
39 changes: 39 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8']
python-version: ['3.8', '3.9']

steps:
- uses: actions/checkout@v2
Expand All @@ -28,9 +28,9 @@ jobs:
- name: Run tests
run: |
pip3 debug --verbose .
pip3 install numba==0.53
pip3 install --upgrade-strategy eager -v .
coverage run --source=skfda/ setup.py test;
pip3 install numba
pip3 install ".[test]"
coverage run --source=skfda/ -m pytest;
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ pip-wheel-metadata/
# macOS DS_Store
.DS_Store
.gitignore
.vscode/settings.json
.vscode
53 changes: 0 additions & 53 deletions .travis.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .zenodo.json

This file was deleted.

69 changes: 69 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Ramos-Carreño"
given-names: "Carlos"
orcid: "https://orcid.org/0000-0003-2566-7058"
affiliation: "Universidad Autónoma de Madrid"
email: [email protected]
- family-names: "Suárez"
given-names: "Alberto"
orcid: "https://orcid.org/0000-0003-4534-0909"
affiliation: "Universidad Autónoma de Madrid"
- family-names: "Torrecilla"
given-names: "José Luis"
orcid: "https://orcid.org/0000-0003-3719-5190"
affiliation: "Universidad Autónoma de Madrid"
- family-names: "Carbajo Berrocal"
given-names: "Miguel"
- family-names: "Marcos Manchón"
given-names: "Pablo"
- family-names: "Pérez Manso"
given-names: "Pablo"
- family-names: "Hernando Bernabé"
given-names: "Amanda"
- family-names: "García Fernández"
given-names: "David"
- family-names: "Hong"
given-names: "Yujian"
- family-names: "Rodríguez-Ponga Eyriès"
given-names: "Pedro Martín"
- family-names: "Sánchez Romero"
given-names: "Álvaro"
- family-names: "Petrunina"
given-names: "Elena"
- family-names: "Castillo"
given-names: "Álvaro"
- family-names: "Serna"
given-names: "Diego"
- family-names: "Hidalgo"
given-names: "Rafael"
title: "GAA-UAM/scikit-fda: Functional Data Analysis in Python"
doi: 10.5281/zenodo.3468127
date-released: 2019-10-01
url: "https://github.com/GAA-UAM/scikit-fda"
license: BSD-3-Clause
keywords:
- functional data analysis
- machine learning
- Python
- scikit
identifiers:
- description: "This is the collection of archived snapshots of all versions of scikit-fda"
type: doi
value: 10.5281/zenodo.3468127
- description: "This is the archived snapshot of version 0.3 of scikit-fda"
type: doi
value: 10.5281/zenodo.3468128
- description: "This is the archived snapshot of version 0.4 of scikit-fda"
type: doi
value: 10.5281/zenodo.3957915
- description: "This is the archived snapshot of version 0.5 of scikit-fda"
type: doi
value: 10.5281/zenodo.4406983
- description: "This is the archived snapshot of version 0.6 of scikit-fda"
type: doi
value: 10.5281/zenodo.5502108
- description: "This is the archived snapshot of version 0.7.1 of scikit-fda"
type: doi
value: 10.5281/zenodo.5903557
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.1
0.8
4 changes: 4 additions & 0 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r ../readthedocs-requirements.txt
jupytext
sphinx-gallery<=0.7.0
.
17 changes: 16 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
import pytest
import sys
import asyncio
import numpy as np

# https://github.com/scikit-learn/scikit-learn/issues/8959
import numpy as np

try:
np.set_printoptions(sign=' ')
except TypeError:
pass


# I introduced this change in order to adapt it to Windows 10
# operating system.
# More information about this problem in this GitHub issue:
# https://github.com/jupyter/jupyter-sphinx/issues/171#issuecomment-766953182

if (
sys.version_info[0] == 3 and sys.version_info[1] >= 8
and sys.platform.startswith('win')
):
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

collect_ignore = ['setup.py', 'docs/conf.py']

pytest.register_assert_rewrite("skfda")
2 changes: 1 addition & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/auto_examples/
/auto_tutorial/
/backreferences/
**/autosummary/
**/autosummary/
Binary file added docs/_static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f59540e

Please sign in to comment.