-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: DEPRECATE requirements.txt in favor of poetry builds
- change: upgrade dockerfile to Python 3.12.5 - change: add (local) edu_sharing_client package to dockerfile before trying to install dependencies - this change was necessary to guarantee that fresh development environments can use the edu-sharing API client without "ModuleNotFoundError"s - chore: update dependencies - chore: update pyproject.toml to reflect Python 3.12 requirement GitHub Workflows: - build: skip .venv/ and edu_sharing_client directories during flake8 checks - build: use poetry to run flake8 and pytest - build: install dependencies with poetry in GitHub workflow
- Loading branch information
Showing
5 changed files
with
45 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ maintainers = [ | |
"Andreas Schnäpp <[email protected]>" | ||
] | ||
readme = "README.md" | ||
python = "^3.11" | ||
python = "^3.12" | ||
homepage = "https://github.com/openeduhub/oeh-search-etl" | ||
repository = "https://github.com/openeduhub/oeh-search-etl" | ||
documentation = "https://github.com/openeduhub/oeh-search-etl" | ||
|
@@ -17,15 +17,14 @@ keywords = ["metadata", "oer", "crawl", "wirlernenonline"] | |
classifiers = [ | ||
"Framework :: Scrapy", | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Education :: Testing", | ||
"Topic :: Internet :: WWW/HTTP :: Indexing/Search", | ||
] | ||
|
||
[tool.black] | ||
line-length = 120 | ||
target-version = ['py311'] | ||
target-version = ['py312'] | ||
include = '\.pyi?$' | ||
exclude = ''' | ||
|
@@ -59,7 +58,7 @@ readme = "Readme.md" | |
packages = [{include = "converter"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
python = "^3.12" | ||
wheel = "0.44.0" | ||
black = "24.8.0" | ||
certifi="2024.8.30" | ||
|
@@ -81,7 +80,6 @@ requests="2.32.3" | |
six="1.16.0" | ||
Scrapy="2.11.2" | ||
scrapy-splash="0.9.0" | ||
urllib3="2.2.2" | ||
vobject="0.9.7" | ||
w3lib="2.2.1" | ||
xmltodict="0.13.0" | ||
|
@@ -90,12 +88,14 @@ babel = "2.15.0" | |
langcodes = {extras = ["data"], version = "^3.3.0"} | ||
httpx = "0.27.2" | ||
async-lru = "2.0.4" | ||
urllib3 = "^2.2.2" | ||
|
||
[tool.poetry.group.edu_sharing_client.dependencies] | ||
# these dependencies are used (and automatically generated) by the "openapi-generator-cli"-generated client | ||
# see: /edu_sharing_openapi/pyproject.toml | ||
pydantic = ">=2.8.2" | ||
typing-extensions = ">=4.12.2" | ||
edu-sharing-client = {path = "edu_sharing_openapi"} | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
|
This file was deleted.
Oops, something went wrong.