Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: erdogant/pca
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.8
Choose a base ref
...
head repository: erdogant/pca
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Jan 11, 2025

  1. remove version matplotlib

    erdogant committed Jan 11, 2025
    Copy the full SHA
    aab9053 View commit details
  2. update req

    erdogant committed Jan 11, 2025
    Copy the full SHA
    1d15b2a View commit details
  3. update pytest workflow

    erdogant committed Jan 11, 2025
    Copy the full SHA
    0eec87c View commit details
Showing with 16 additions and 16 deletions.
  1. +10 −11 .github/workflows/pytest.yml
  2. +1 −1 pca/__init__.py
  3. +2 −2 requirements.txt
  4. +1 −0 requirements_additional.txt
  5. +2 −2 setup.py
21 changes: 10 additions & 11 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -2,29 +2,28 @@ name: Pytest for pca
on: [push]

jobs:
example-1:
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }})
test:
name: Pytest (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.10"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# install pandas because we have unittests that include pd.DataFrame()
pip install -r requirements_additional.txt
pip install -r requirements.txt
pip install pandas
pip install sklearn
pip install pytest
pip install .
- name: Test with pytest
run: |
pip install pytest
pytest
2 changes: 1 addition & 1 deletion pca/__init__.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

__author__ = 'Erdogan Tasksen'
__email__ = 'erdogant@gmail.com'
__version__ = '2.0.8'
__version__ = '2.0.9'

# module level doc-string
__doc__ = """
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
matplotlib>=3.10
matplotlib
numpy
scikit-learn
scipy
pandas
colourmap>=1.1.18
colourmap>=1.1.19
scatterd>=1.3.7
pca>=2.0.5
adjusttext
1 change: 1 addition & 0 deletions requirements_additional.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pandas
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -15,11 +15,11 @@
setuptools.setup(
install_requires=['datazets',
'statsmodels',
'matplotlib>=3.10',
'matplotlib',
'numpy',
'scikit-learn',
'scipy',
'colourmap>=1.1.18',
'colourmap>=1.1.19',
'pandas',
'scatterd>=1.3.7',
'adjusttext',