459 Commits

Author SHA1 Message Date
Silvano Cerza
a86bf963a0
ci: Fix workflows_linting.yml never running (#7941)
* Fix workflows_linting.yml never running

* Add setup-go step

* Ignore SC2102 rule
2024-06-28 11:01:52 +02:00
dependabot[bot]
8583d8c6a6
chore(deps): bump actions/add-to-project from 1.0.1 to 1.0.2 (#7926)
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/add-to-project/releases)
- [Commits](https://github.com/actions/add-to-project/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: actions/add-to-project
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 16:27:43 +02:00
Massimiliano Pippi
3a03fce71c
ci: Add code formatting checks (#7882)
* ruff settings

enable ruff format and re-format outdated files

feat: `EvaluationRunResult` add parameter to specify columns to keep in the comparative `Dataframe`  (#7879)

* adding param to explictily state which cols to keep

* adding param to explictily state which cols to keep

* adding param to explictily state which cols to keep

* updating tests

* adding release notes

* Update haystack/evaluation/eval_run_result.py

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>

* Update releasenotes/notes/add-keep-columns-to-EvalRunResult-comparative-be3e15ce45de3e0b.yaml

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>

* updating docstring

---------

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>

add format-check

fail on format and linting failures

fix string formatting

reformat long lines

fix tests

fix typing

linter

pull from main

* reformat

* lint -> check

* lint -> check
2024-06-18 15:52:46 +00:00
dependabot[bot]
a277af45a5
chore(deps): bump docker/bake-action from 4 to 5 (#7881)
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 4 to 5.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 17:05:00 +02:00
Massimiliano Pippi
5a247138cb
ci: add dependency cache step (#7874)
* add cache step

* add test commit

* do not use shell to get deps

* force shell on all platforms

* use short-lived cache

* do not use a dedicated build step
2024-06-17 10:46:11 +02:00
Massimiliano Pippi
24518dfa32
ci: merge linting steps into the test workflow (#7866)
* move license header check under format

* merge linting into test workflow

* test commit to trigger CI

* Revert "test commit to trigger CI"

This reverts commit ade5dcc6873cdd29ff5c5e8c9033b137cdef4d81.

* remove unused skipper
2024-06-14 16:01:37 +02:00
Massimiliano Pippi
324bbc3868
chore: clean up default env and add a script to generate release notes. (#7858)
* clean up default env and add reno script

* update contributions guidelines

* use test script

* format

* re-add missing dep

* remove black in favour of ruff
2024-06-14 14:57:24 +02:00
Alejandro Lazaro
639ee598fd
ci: only run under deepset-ai GitHub org (#7834)
Since the workflow doesn't seem intended for forks, I decided to
disable it altogether for runs outside `deepset-ai` org.

Fix #7833
2024-06-10 10:51:41 +02:00
Massimiliano Pippi
aa767ae142
ignore rc0 (#7776) 2024-05-31 12:32:08 +02:00
Massimiliano Pippi
8e3a8999de
fix release workflow 2024-05-30 18:47:42 +02:00
Massimiliano Pippi
131e3498cd
fix release workflow 2024-05-30 18:08:06 +02:00
Massimiliano Pippi
c96741796a
fix release workflow 2024-05-30 18:06:15 +02:00
Silvano Cerza
15aa4217bd
Install hatch in testing jobs (#7755) 2024-05-28 17:04:21 +02:00
Massimiliano Pippi
cc521f42ef
ci: remove dependency cache job (#7754)
* remove dependency cache job

* leftover
2024-05-28 16:03:59 +02:00
Massimiliano Pippi
10c675d534
chore: add license header to all modules (#7675)
* add license header to modules
* check license header at linting time
2024-05-09 13:40:36 +00:00
Massimiliano Pippi
02b8a07e31
re-enable linting for the core package (#7677)
* re-enable linting for the core package

* fix docstring
2024-05-09 13:00:16 +00:00
Stefano Fiorucci
dd95def0d1
introduce any-of-labels (#7676) 2024-05-09 11:36:45 +02:00
Massimiliano Pippi
78e11bf764
Remove leftover from Haystack 1.x (#7664) 2024-05-08 17:34:21 +02:00
Silvano Cerza
34a79e368e
Enhance version bump PR body description (#7644) 2024-05-03 12:45:18 +02:00
Silvano Cerza
3b64664eb7 Fix call to git in minor_version_release.yml 2024-05-03 11:49:00 +02:00
Silvano Cerza
c0fe5e660b
Rework minor_version_release.yml to create PR that bumps version (#7642) 2024-05-03 11:45:25 +02:00
Silvano Cerza
db87074e68
Fix minor_version_release.yml workflow to work with both 1.x and 2.x (#7630) 2024-05-02 15:23:07 +02:00
Tobias Wochinger
451fae880e
ci: fix catch-all (#7215)
* ci: trigger separate workflow

* ci: temporary use current branch

* ci: fix workflow name

* ci: try with same job name

* ci: try with dispatch

* Revert "ci: try with dispatch"

This reverts commit bd66e56c0697ae97fc2599eebaceff417d9be65c.

* Revert "ci: try with same job name"

This reverts commit 9e2ae5b402758c14a9f812c2e06f820bd3ece767.

* ci: try with workflow call in both cases

* ci: introduce change to trigger CI

* Revert "ci: introduce change to trigger CI"

This reverts commit e3ec07c5e26f114364babea69535183253c801b7.

* ci: add name

* Revert "Revert "ci: introduce change to trigger CI""

This reverts commit 6718585fd24069112e0f773e010056e1d96e3eee.

* ci: improve naming

* ci: further improve naming

* Unset reusable workflow version and use relative path

* Remove CI trigger

---------

Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
2024-04-29 14:54:12 +02:00
Vladimir Blagojevic
36b9a05212
Rollback macos-latest to macos-12 (#7597) 2024-04-26 10:44:49 +02:00
David S. Batista
958f1eb3a3
doc: adding docstring linting based on ruff (#7463)
* wip: docstrings linting

* set ruff rules
2024-04-23 18:43:09 +02:00
dependabot[bot]
3d0f7affed
chore(deps): bump actions/add-to-project from 1.0.0 to 1.0.1 (#7547)
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/actions/add-to-project/releases)
- [Commits](https://github.com/actions/add-to-project/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: actions/add-to-project
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 16:33:24 +02:00
Stefano Fiorucci
f5719ed12a
fix release notes generation on github release workflow (#7515) 2024-04-09 14:47:36 +02:00
Silvano Cerza
65705a8fdc
Add HF_API_TOKEN env var in tests.yml (#7490) 2024-04-05 17:02:26 +02:00
dependabot[bot]
6fcb62ae34
chore(deps): bump actions/add-to-project from 0.6.1 to 1.0.0 (#7436)
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.6.1 to 1.0.0.
- [Release notes](https://github.com/actions/add-to-project/releases)
- [Commits](https://github.com/actions/add-to-project/compare/v0.6.1...v1.0.0)

---
updated-dependencies:
- dependency-name: actions/add-to-project
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 12:23:39 +01:00
dependabot[bot]
7894024e6f
chore(deps): bump tj-actions/changed-files from 43 to 44 (#7435)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-27 15:26:56 +01:00
Stefano Fiorucci
69bd112f3e
ci: notify e2e nightly failures (#7429)
* try e2e notification

* rm code used to test
2024-03-27 11:12:54 +01:00
dependabot[bot]
42b587ab55
chore(deps): bump actions/add-to-project from 0.5.0 to 0.6.1 (#7388)
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.5.0 to 0.6.1.
- [Release notes](https://github.com/actions/add-to-project/releases)
- [Commits](https://github.com/actions/add-to-project/compare/v0.5.0...v0.6.1)

---
updated-dependencies:
- dependency-name: actions/add-to-project
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-23 09:26:50 +01:00
dependabot[bot]
d4df9c09b2
chore(deps): bump tj-actions/changed-files from 42 to 43 (#7360)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 13:35:20 +01:00
Massimiliano Pippi
3fcb4561eb
Unschedule benchmarks (#7376) 2024-03-18 09:49:48 +01:00
Stefano Fiorucci
e793c718b6
chore: Upgrade transformers to 4.38.2 in test environment (#7363)
* upgrade transformers to 4.38.2 in test environment

* add pyproject to files to check in test workflow
2024-03-15 10:06:28 +01:00
Stefano Fiorucci
4b814b2b28
remove references to test_requirements (#7351) 2024-03-13 17:29:32 +01:00
Massimiliano Pippi
762e8c8e86
extend stalebot to community triage (#7352) 2024-03-13 12:08:39 +01:00
Silvano Cerza
5aee378baf
chore: Remove all examples and point to cookbooks repo (#7350)
* Remove all examples and point to cookbooks repo

* Remove workflow testing examples
2024-03-12 18:04:39 +01:00
Silvano Cerza
95837ab6b5
Fix readme sync workflow (#7332) 2024-03-07 16:04:54 +01:00
Silvano Cerza
bbdc52e8ba
Fix readme_sync.yml workflow to handle unstable 2.x versions (#7330) 2024-03-07 15:13:36 +01:00
Silvano Cerza
d5336e9f72
Fix pypi_release.yml workflow to skip rc0 versions (#7327) 2024-03-07 12:09:10 +01:00
dependabot[bot]
312ba9ebf0
chore(deps): bump dorny/paths-filter from 3.0.1 to 3.0.2 (#7300)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](ebc4d7e9eb...de90cc6fb3)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 17:08:17 +01:00
Massimiliano Pippi
221bfb012c
fix: Update pyproject.toml (#7281)
* Update pyproject.toml

* make tests run on templates changes

---------

Co-authored-by: anakin87 <stefanofiorucci@gmail.com>
2024-03-01 12:40:24 +01:00
Silvano Cerza
61eb143905
Fix delete outdated docs job in readme_sync.yml (#7241) 2024-02-28 12:41:10 +01:00
Silvano Cerza
85491433c6
ci: Add script to delete documentation that don't exist anymore (#7209)
* Add script to delete documentation that don't exist anymore

* Remove prints
2024-02-28 11:02:59 +01:00
dependabot[bot]
87727e4d5c
chore(deps): bump iterative/setup-cml from 2 to 3 (#7223)
Bumps [iterative/setup-cml](https://github.com/iterative/setup-cml) from 2 to 3.
- [Release notes](https://github.com/iterative/setup-cml/releases)
- [Commits](https://github.com/iterative/setup-cml/compare/v2...v3)

---
updated-dependencies:
- dependency-name: iterative/setup-cml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:49:48 +01:00
Silvano Cerza
8838c02872
Fix snippets_tests.yml (#7208) 2024-02-26 18:04:43 +01:00
Tobias Wochinger
ba49905eff
ci: unify dependency management + hatch scripts (#7079)
* ci: unify dependency management + hatch scripts

* ci: migrate readme sync

* build: migrate snippets

* ci: pin hatch

* ci: make Python version more explicit + quote

* ci: add scripts with parameters to hatch

---------

Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>
2024-02-26 15:40:10 +01:00
Tobias Wochinger
d6ef2b55be
ci: only only skip tests if no code changes at all (#7061)
* ci: only only skip tests if no code  changes at all

* ci: introduce fake change to test flow

* ci: skip running entire workflow

* Revert "ci: introduce fake change to test flow"

This reverts commit 96eed5d65f0a96e90b5d5a390b1a04386a046dac.

* ci: add missing paths
2024-02-22 11:15:16 +01:00
dependabot[bot]
7f4d11c38e
chore(deps): bump fossas/fossa-action from 1.3.1 to 1.3.3 (#7019)
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/fossas/fossa-action/releases)
- [Commits](https://github.com/fossas/fossa-action/compare/v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: fossas/fossa-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 10:01:15 +01:00