Skip to content

Commit

Permalink
Bump the pip-dependencies group with 1 update (#105)
Browse files Browse the repository at this point in the history
* Bump the pip-dependencies group with 1 update

Bumps the pip-dependencies group with 1 update: [connexion](https://github.com/spec-first/connexion).


Updates `connexion` from 2.14.2 to 3.0.5
- [Release notes](https://github.com/spec-first/connexion/releases)
- [Commits](spec-first/connexion@2.14.2...3.0.5)

---
updated-dependencies:
- dependency-name: connexion
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pip-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Attempt to clean-up dependencies

* Pin beautifulsoup4 instead of bs4

* Fix falsk_msearch initialization

* Fix typo

* Leave a comment to improve maintainability

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: iakov <iakov@users.noreply.github.com>
Co-authored-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
  • Loading branch information
3 people committed Jan 28, 2024
1 parent f7bf19c commit 16b53f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 2 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
# It is useful because connexion 2.14.2 requires Flask <2.3,
# which in turn is missing this dependency. Can be removed after Flask 2.3
blinker==1.7.0 # Added manually, to be removed later.
bs4==0.0.2
beautifulsoup4==4.12.3
chardet==5.2.0
connexion==2.14.2
Flask==2.3.3
Flask-Admin==1.6.1
Flask-APScheduler==1.13.1
Flask-BasicAuth==0.2.0
Flask-Login==0.6.3
Flask-Markdown==0.3
Flask-Migrate==4.0.5
flask-msearch==0.2.9.4
# Flask-SQLAlchemy <= 3.0.5 is required for flask-msearch
# because in Flask-SQLAlchemy > 3.0.5 the deprecated code that flask-msearch uses was removed.
Flask-SQLAlchemy==3.0.5
Flask-SimpleMDE==0.3.0
Flask-WTF==1.2.1
Frozen-Flask==1.0.1
Expand Down
4 changes: 3 additions & 1 deletion src/se_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@

metadata = MetaData(naming_convention=convention)
db = SQLAlchemy(metadata=metadata)
search = Search()
# Workaround: flask-msearch does not work with recent Flask-SQLAlchemy.
# Pass 'db' parameter explicitly to mitigate this problem.
search = Search(db=db)


tag = db.Table(
Expand Down

0 comments on commit 16b53f7

Please sign in to comment.