diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 62e6efd3..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Configuration: https://dependabot.com/docs/config-file/ -# Docs: https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically - -version: 2 - -updates: - - package-ecosystem: "pip" - directory: "/" - schedule: - interval: "monthly" - allow: - - dependency-type: "all" - commit-message: - prefix: ":arrow_up:" - # Uncomment this section to enable Dependabot for GitHub Actions - # with auto-merge enabled this can cause error with untested github actions - # being automatically merged into the main branch - - # - package-ecosystem: "github-actions" - # directory: "/" - # schedule: - # interval: "monthly" - # allow: - # - dependency-type: "all" - # commit-message: - # prefix: ":arrow_up:" diff --git a/.github/workflows/dependabot_automerge.yml b/.github/workflows/dependabot_automerge.yml deleted file mode 100644 index ec12c61c..00000000 --- a/.github/workflows/dependabot_automerge.yml +++ /dev/null @@ -1,30 +0,0 @@ -# GitHub action to automerge dependabot PRs. Only merges if tests pass due to branch protections in the repo. - -name: automerge-dependabot-prs - -on: pull_request_target - -permissions: - contents: write - pull-requests: write - -jobs: - dependabot-automerge: - runs-on: ubuntu-latest - # if actor is dependabot or pre-commit-ci[bot] then run - if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' }} - - steps: - - name: Auto approve dependabot PRs - if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' }} - uses: hmarr/auto-approve-action@v3.1.0 - with: - github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }} - - # Checkout action is required for token to persist - - name: Enable auto-merge for Dependabot PRs - run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }} - diff --git a/pyproject.toml b/pyproject.toml index a37da55b..e5dd5e32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,8 +37,8 @@ dependencies = [ "spacy[lookups]>=3.6.0", "numpy>=1.20.0", "pandas>=1.0.0", - "pyphen>=0.11.0,<0.15.0", - "ftfy>=6.0.3,<7", + "pyphen>=0.11.0", + "ftfy>=6.0.3", "pydantic>=2.0", ]