Skip to content

Commit

Permalink
Merge tag '3.35.0' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimozGodec committed May 5, 2023
2 parents 0e3b4a1 + bb67dc8 commit 41f650d
Show file tree
Hide file tree
Showing 274 changed files with 10,604 additions and 6,253 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_pylint_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ UNCOMMITED_PATCH="$TMP_REPO/uncommited.patch"
SCRIPT=$(basename "$0")
PYLINT="$(command -v pylint 2>/dev/null || true)"
RADON="$(command -v radon 2>/dev/null || true)"
PYLINT_ARGS="--output-format=parseable"
PYLINT_ARGS="--msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'"
RADON_ARGS='cc --min C --no-assert --show-closures --show-complexity --average'

trap "status=\$?; cd '$GIT_REPO'; rm -rf '$TMP_REPO'; exit \$status" EXIT
Expand Down Expand Up @@ -127,7 +127,7 @@ Number_of_issues ()
cached="$1"
{ cat "$cached" 2>/dev/null ||
echo "$CHANGED_FILES" |
xargs "$PYLINT" $PYLINT_ARGS |
xargs "$PYLINT" "$PYLINT_ARGS" |
tee "$cached"
} | awk -F'[\\. ]' '/^Your code has been rated at /{ print $7 }' || true
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: False
matrix:
python: [3.9]
os: [ubuntu-18.04]
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2
Expand Down
47 changes: 25 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: '2'

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Install Tox
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox tox-pip-version
python -m pip install --upgrade tox
- name: Run Pylint
run: tox -e pylint-ci
Expand All @@ -45,7 +45,7 @@ jobs:
python-version: '3.10'
tox_env: orange-latest
name: Latest
- os: ubuntu-18.04
- os: ubuntu-20.04
python-version: 3.8
tox_env: orange-oldest
name: Oldest dependencies
Expand All @@ -54,7 +54,6 @@ jobs:
tox_env: pyqt6
name: PyQt6


services:
postgres:
image: orangedm/postgres:11
Expand All @@ -75,21 +74,27 @@ jobs:
- 1433:1433

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install linux system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libegl1-mesa libxcb-shape0
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libegl1-mesa libxcb-shape0 libxcb-cursor0
- name: Install Tox
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox tox-pip-version
python -m pip install --upgrade tox
- name: Skip testing workflows at coverage
if: |
matrix.python-version == '3.8' && matrix.tox_env == 'orange-released'
run: |
echo 'SKIP_EXAMPLE_WORKFLOWS=1' >> $GITHUB_ENV
- name: Run Tox
run: catchsegv xvfb-run -a -s "$XVFBARGS" tox -e ${{ matrix.tox_env }}
Expand All @@ -98,12 +103,10 @@ jobs:
ORANGE_TEST_DB_URI: postgres://postgres_user:postgres_password@localhost:5432/postgres_db|mssql://SA:sqlServerPassw0rd@localhost:1433

- name: Upload code coverage
if: |
matrix.python-version == '3.8' &&
matrix.tox_env == 'orange-released'
run: |
pip install codecov
codecov
if: matrix.python-version == '3.8' && matrix.tox_env == 'orange-released'
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true

test_on_macos_and_windows:
runs-on: ${{ matrix.os }}
Expand All @@ -112,7 +115,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-11, windows-2019]
os: [macos-latest, windows-latest]
python-version: [3.8, 3.9, '3.10']
tox_env: [orange-released]
name: [Released]
Expand All @@ -121,34 +124,34 @@ jobs:
python-version: '3.10'
tox_env: orange-latest
name: Latest
- os: macos-11
- os: macos-latest
python-version: '3.10'
tox_env: orange-latest
name: Latest
- os: windows-latest
python-version: '3.10'
tox_env: pyqt6
name: PyQt6
- os: macos-11
- os: macos-latest
python-version: 3.9
tox_env: pyqt6
name: PyQt6

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install system dependencies on MacOS
run: brew install libomp
if: matrix.os == 'macos-10.15' || matrix.os == 'macos-11'
if: runner.os == 'macOS'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox tox-pip-version
python -m pip install --upgrade tox
- name: Test with Tox
run: |
Expand Down
51 changes: 50 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,54 @@ Change Log
[next] - TBA
------------

[3.35.0] - 2023-05-05
---------------------
##### Enhancements
* Neighbours - Sort resulting instances in order according to distance ([#6425](../../pull/6425))
* SOM - Warn user to restart optimization after parameter change ([#6438](../../pull/6438))
* Update requirements-core.txt
* TimeVariable - add formats with UTC offset
* Skip pandas==2.0.0
* Data Table: Subset input ([#6405](../../pull/6405))
* Data Table: Restore applied sorting ([#6370](../../pull/6370))
* widgets.data.utils.tableview: Disconnect specific slot
* Select Rows: Better label for purging unused values/features ([#6383](../../pull/6383))
* Single input data table widget ([#6346](../../pull/6346))
* Continuize: Specific options for variables ([#6181](../../pull/6181))
* Datasets: Add language selection ([#6358](../../pull/6358))
* MDS: Show Kruskal stress ([#6309](../../pull/6309))
* Group By - add quantile aggregations ([#6304](../../pull/6304))
* MCC: Add Matthews correlation coefficient score ([#6264](../../pull/6264))
* Improve scorer selection in Test and Score and predictions ([#6282](../../pull/6282))
* Feature Constructor: Enable comprehensions and lambdas in expressions ([#6272](../../pull/6272))

##### Bugfixes
* Edit Domain no longer forgets its settings ([#6415](../../pull/6415))
* SOM: Store selection Settings in list instead of np.ndarray ([#6423](../../pull/6423))
* pca: n_features_ attribute of decomposition.PCA is deprecated in favor of n_features_in_ ([#6249](../../pull/6249))
* Update requirements-core.txt
* TimeVariable - add formats with UTC offset
* Skip pandas==2.0.0
* tableview: Fix errors with sparse basket columns ([#6409](../../pull/6409))
* owtable: Remove multiple connections to 'selectionFinished' ([#6404](../../pull/6404))
* widgets.data.utils.tableview: Disconnect specific slot
* Drop table after testing ([#6351](../../pull/6351))
* MDS: Remove repeated updates at the end of optimization ([#6337](../../pull/6337))
* Select Rows - Fix checked groups not considered in PyQt6 ([#6336](../../pull/6336))
* Edit Domain - set have_time and have_date to time variables ([#6324](../../pull/6324))
* Rank - make sorting setting PyQt6 compatible ([#6301](../../pull/6301))
* Concatenate - preserve table names when compute value ignored ([#6331](../../pull/6331))
* Fix unpickling domains: do not pickle indices (which can cause problems) ([#6317](../../pull/6317))
* stats.utils: Don't count zeros as nans ([#6314](../../pull/6314))
* File Widget: Fix recent urls save/restore ([#6259](../../pull/6259))
* Fix Color for python 3.10 ([#6293](../../pull/6293))
* listfilter: Fix dragDropActionDidComplete signal type ([#6292](../../pull/6292))
* Table.from_table works correctly with boolean indices ([#6278](../../pull/6278))
* Pythagorean Forest: Fix report ([#6276](../../pull/6276))
* Implement predict() in simple tree and simple RF models ([#6258](../../pull/6258))
* Bar Plot: Fix annotation by enumeration ([#6270](../../pull/6270))
* Color: fix coloring of computed (processed) variables ([#6261](../../pull/6261))


[3.34.1] - 2022-12-13
--------------------
Expand Down Expand Up @@ -1735,7 +1783,8 @@ Change Log
* Initial version based on Python 1.5.2 and Qt 2.3


[next]: https://github.com/biolab/orange3/compare/3.34.1..HEAD
[next]: https://github.com/biolab/orange3/compare/3.35.0..HEAD
[3.34.1]: https://github.com/biolab/orange3/compare/3.34.1...3.35.0
[3.34.1]: https://github.com/biolab/orange3/compare/3.34.0...3.34.1
[3.34.0]: https://github.com/biolab/orange3/compare/3.33.0...3.34.0
[3.33.0]: https://github.com/biolab/orange3/compare/3.32.0...3.33.0
Expand Down

0 comments on commit 41f650d

Please sign in to comment.