Compare commits

...

19 Commits

Author SHA1 Message Date
c0d0ec3502 pyproject.toml: bump version to v0.0.4 2023-02-23 14:48:54 +03:00
338b30396e Update requirements
Generated with poetry export:

    $ poetry export --without-hashes -f requirements.txt > requirements.txt
    $ poetry export --without-hashes --with dev -f requirements.txt > requirements-dev.txt
2023-02-23 14:43:25 +03:00
e0667821ea poetry.lock: run poetry update 2023-02-23 14:42:40 +03:00
541ad7ed6b README.md: Python 3.9 2023-02-23 14:41:57 +03:00
5ed93e9f30 pyproject.toml: update dependencies
Bump to latest csv-metadata-quality version and other dev deps to
keep them in line.
2023-02-23 14:40:09 +03:00
7a183010f1 pyproject.toml: bump python to 3.9
Same as the main project csv-metadata-quality.
2023-02-23 14:28:09 +03:00
1dbc58eaa6 runtime.txt: use Python 3.10.5
All checks were successful
continuous-integration/drone/push Build is passing
See: https://devcenter.heroku.com/articles/python-support
2022-07-02 15:46:21 +03:00
392b10fc9f .drone.yml: build on Python 3.10 too
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 11:44:48 +03:00
27a3917c8b Regenerate requirements
Generated using poetry:

  $ poetry export --without-hashes -f requirements.txt > requirements.txt
  $ poetry export --without-hashes --dev -f requirements.txt > requirements-dev.txt
2022-07-02 11:43:39 +03:00
c459526042 poetry.lock: run poetry update 2022-07-02 11:43:05 +03:00
974ae6c847 .github/workflows/python-app.yml: use Python 3.10
All checks were successful
continuous-integration/drone/push Build is passing
That's what I use for testing locally. Note that we need to quote
the version here because otherwise GitHub Actions will interpret it
as 3.1 due to how YAML works.
2022-01-30 13:46:17 +03:00
50f2832dfb .drone.yml: don't test on Python 3.7
Pandas 1.4.0 now requires Python 3.8 minimum.
2022-01-30 13:45:27 +03:00
6296fbc1af runtime.txt: use Python 3.10.2 on Heroku 2022-01-30 13:44:32 +03:00
1beaf436b6 poetry.lock: run poetry update 2022-01-30 13:44:09 +03:00
38a0afa048 README.md: update Python version requirement
Pandas 1.4.0 requires Python 3.8+.
2022-01-30 13:43:41 +03:00
f826d25ea1 Regenerate requirements
Generated using poetry:

  $ poetry export --without-hashes -f requirements.txt > requirements.txt
  $ poetry export --without-hashes --dev -f requirements.txt > requirements-dev.txt
2022-01-30 13:43:18 +03:00
19d78eb55d pyproject.toml: update dependencies
black is no longer beta, remove ipython because I can use the one
installed system wide and it doesn't like being in a virtual env
anyways. flake8 is a new major version.
2022-01-30 13:42:05 +03:00
070d19af82 pyproject.toml: update minimum Python version
The csv-metadata-quality project will currently pull in Pandas 1.4.0,
which has a minimum Python requirement of 3.8.
2022-01-30 13:36:55 +03:00
7e83c3b0a2 Update screenshot.png
New version taken in Epiphany with shadow added.
2022-01-30 13:35:51 +03:00
9 changed files with 760 additions and 1007 deletions

View File

@ -1,3 +1,17 @@
---
kind: pipeline
type: docker
name: python310
steps:
- name: build
image: python:3.10-slim
commands:
- id
- python -V
- apt update && apt install -y gcc g++ libicu-dev pkg-config git
- pip install -r requirements-dev.txt
---
kind: pipeline
type: docker
@ -26,18 +40,4 @@ steps:
- apt update && apt install -y gcc g++ libicu-dev pkg-config git
- pip install -r requirements-dev.txt
---
kind: pipeline
type: docker
name: python37
steps:
- name: build
image: python:3.7-slim
commands:
- id
- python -V
- apt update && apt install -y gcc g++ libicu-dev pkg-config git
- pip install -r requirements-dev.txt
# vim: ts=2 sw=2 et

View File

@ -16,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip

View File

@ -12,7 +12,7 @@
You can try [the hosted version](https://fierce-ocean-30836.herokuapp.com) or host it yourself (see below).
## Usage
Create a Python 3.7+ virtual environment and install the dependencies:
Create a Python 3.9+ virtual environment and install the dependencies:
$ python3 -m venv venv
$ source venv/bin/activate

1535
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +1,21 @@
[tool.poetry]
name = "csv-metadata-quality-web"
version = "0.0.3"
version = "0.0.4"
description = "Simple web interface for the DSpace CSV Metadata Quality tool."
authors = ["Alan Orth <alan.orth@gmail.com>"]
license = "AGPL-3.0-only"
[tool.poetry.dependencies]
python = "^3.7.1"
csv-metadata-quality = {git = "https://github.com/ilri/csv-metadata-quality.git", tag = "v0.5.0"}
Flask = "^2.0.2"
ansi2html = "^1.6.0"
gunicorn = "^20.0.4"
python = "^3.9"
csv-metadata-quality = {git = "https://github.com/ilri/csv-metadata-quality.git", tag = "v0.6.1"}
Flask = "^2.2.3"
ansi2html = "^1.8.0"
gunicorn = "^20.1.0"
[tool.poetry.dev-dependencies]
black = "^20.8b1"
flake8 = "^3.8.4"
isort = "^5.7.0"
ipython = "^7.21.0"
black = "^23.1.0"
flake8 = "^6.0.0"
isort = "^5.12.0"
[build-system]
requires = ["poetry-core>=1.0.0"]

View File

@ -1,60 +1,47 @@
ansi2html==1.6.0; python_version >= "3.6"
appdirs==1.4.4; python_version >= "3.6"
appnope==0.1.2; sys_platform == "darwin" and python_version >= "3.7"
backcall==0.2.0; python_version >= "3.7"
black==20.8b1; python_version >= "3.6"
certifi==2021.10.8; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
charset-normalizer==2.0.9; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3"
click==8.0.3; python_version >= "3.6"
colorama==0.4.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.5.0") and (python_version >= "3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or platform_system == "Windows" and python_version >= "3.6" and python_full_version >= "3.5.0")
country-converter==0.7.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
csv-metadata-quality @ git+https://github.com/ilri/csv-metadata-quality.git@v0.5.0 ; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
decorator==5.1.0; python_version >= "3.7"
flake8==3.9.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
flask==2.0.2; python_version >= "3.6"
ftfy==5.9; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.5"
greenlet==1.1.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3"
gunicorn==20.1.0; python_version >= "3.5"
idna==3.3; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.5"
importlib-metadata==4.8.2; python_full_version >= "3.7.1" and python_version < "3.8" and python_version >= "3.6" and python_full_version < "4.0.0"
ipython==7.30.1; python_version >= "3.7"
isort==5.10.1; python_full_version >= "3.6.1" and python_version < "4.0"
itsdangerous==2.0.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
jedi==0.18.1; python_version >= "3.7"
jinja2==3.0.3; python_version >= "3.6"
langid==1.1.6; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
markupsafe==2.0.1; python_version >= "3.6"
matplotlib-inline==0.1.3; python_version >= "3.7"
mccabe==0.6.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
mypy-extensions==0.4.3; python_version >= "3.6"
numpy==1.21.1
pandas==1.3.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
parso==0.8.3; python_version >= "3.7"
pathspec==0.9.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
pexpect==4.8.0; sys_platform != "win32" and python_version >= "3.7"
pickleshare==0.7.5; python_version >= "3.7"
prompt-toolkit==3.0.23; python_full_version >= "3.6.2" and python_version >= "3.7"
ptyprocess==0.7.0; sys_platform != "win32" and python_version >= "3.7"
pycodestyle==2.7.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
pycountry==19.8.18; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
pyflakes==2.3.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
pygments==2.10.0; python_version >= "3.7"
python-dateutil==2.8.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
python-stdnum==1.17; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
pytz==2021.3; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
regex==2021.11.10; python_version >= "3.6"
requests-cache==0.6.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
requests==2.26.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
six==1.16.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
spdx-license-list==0.5.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
sqlalchemy==1.4.22; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
toml==0.10.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6"
traitlets==5.1.1; python_version >= "3.7"
typed-ast==1.5.1; python_version >= "3.6"
typing-extensions==4.0.1; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.6"
url-normalize==1.4.3; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
urllib3==1.26.7; python_full_version >= "3.7.1" and python_version < "4" and python_full_version < "4.0.0"
wcwidth==0.2.5; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.7"
werkzeug==2.0.2; python_version >= "3.6"
xlrd==1.2.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
zipp==3.6.0; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.6"
ansi2html==1.8.0 ; python_version >= "3.9" and python_version < "4.0"
appdirs==1.4.4 ; python_version >= "3.9" and python_version < "4.0"
attrs==22.2.0 ; python_version >= "3.9" and python_version < "4.0"
black==23.1.0 ; python_version >= "3.9" and python_version < "4.0"
cattrs==22.2.0 ; python_version >= "3.9" and python_version < "4.0"
certifi==2022.12.7 ; python_version >= "3.9" and python_version < "4"
charset-normalizer==3.0.1 ; python_version >= "3.9" and python_version < "4"
click==8.1.3 ; python_version >= "3.9" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.9" and python_version < "4.0"
country-converter @ git+https://github.com/alanorth/country_converter.git@myanmar-region ; python_version >= "3.9" and python_version < "4.0"
csv-metadata-quality @ git+https://github.com/ilri/csv-metadata-quality.git@v0.6.1 ; python_version >= "3.9" and python_version < "4.0"
exceptiongroup==1.1.0 ; python_version >= "3.9" and python_version < "3.11"
flake8==6.0.0 ; python_version >= "3.9" and python_version < "4.0"
flask==2.2.3 ; python_version >= "3.9" and python_version < "4.0"
ftfy==6.1.1 ; python_version >= "3.9" and python_version < "4"
gunicorn==20.1.0 ; python_version >= "3.9" and python_version < "4.0"
idna==3.4 ; python_version >= "3.9" and python_version < "4"
importlib-metadata==6.0.0 ; python_version >= "3.9" and python_version < "3.10"
isort==5.12.0 ; python_version >= "3.9" and python_version < "4.0"
itsdangerous==2.1.2 ; python_version >= "3.9" and python_version < "4.0"
jinja2==3.1.2 ; python_version >= "3.9" and python_version < "4.0"
langid==1.1.6 ; python_version >= "3.9" and python_version < "4.0"
markupsafe==2.1.2 ; python_version >= "3.9" and python_version < "4.0"
mccabe==0.7.0 ; python_version >= "3.9" and python_version < "4.0"
mypy-extensions==1.0.0 ; python_version >= "3.9" and python_version < "4.0"
numpy==1.24.2 ; python_version < "4.0" and python_version >= "3.9"
packaging==23.0 ; python_version >= "3.9" and python_version < "4.0"
pandas==1.5.3 ; python_version >= "3.9" and python_version < "4.0"
pathspec==0.11.0 ; python_version >= "3.9" and python_version < "4.0"
platformdirs==3.0.0 ; python_version >= "3.9" and python_version < "4.0"
pycodestyle==2.10.0 ; python_version >= "3.9" and python_version < "4.0"
pycountry @ git+https://github.com/alanorth/pycountry@iso-codes-4.12.0 ; python_version >= "3.9" and python_version < "4.0"
pyflakes==3.0.1 ; python_version >= "3.9" and python_version < "4.0"
python-dateutil==2.8.2 ; python_version >= "3.9" and python_version < "4.0"
python-stdnum==1.18 ; python_version >= "3.9" and python_version < "4.0"
pytz==2022.7.1 ; python_version >= "3.9" and python_version < "4.0"
requests-cache==0.9.8 ; python_version >= "3.9" and python_version < "4.0"
requests==2.28.2 ; python_version >= "3.9" and python_version < "4"
setuptools==67.4.0 ; python_version >= "3.9" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.9" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.9" and python_version < "3.11"
typing-extensions==4.5.0 ; python_version >= "3.9" and python_version < "3.10"
url-normalize==1.4.3 ; python_version >= "3.9" and python_version < "4.0"
urllib3==1.26.14 ; python_version >= "3.9" and python_version < "4"
wcwidth==0.2.6 ; python_version >= "3.9" and python_version < "4"
werkzeug==2.2.3 ; python_version >= "3.9" and python_version < "4.0"
zipp==3.14.0 ; python_version >= "3.9" and python_version < "3.10"

View File

@ -1,35 +1,35 @@
ansi2html==1.6.0; python_version >= "3.6"
certifi==2021.10.8; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
charset-normalizer==2.0.9; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3"
click==8.0.3; python_version >= "3.6"
colorama==0.4.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and (python_version >= "3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or platform_system == "Windows" and python_version >= "3.6" and python_full_version >= "3.5.0")
country-converter==0.7.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
csv-metadata-quality @ git+https://github.com/ilri/csv-metadata-quality.git@v0.5.0 ; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
flask==2.0.2; python_version >= "3.6"
ftfy==5.9; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.5"
greenlet==1.1.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3"
gunicorn==20.1.0; python_version >= "3.5"
idna==3.3; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.5"
importlib-metadata==4.8.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version < "3.8" and python_version >= "3.6"
itsdangerous==2.0.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
jinja2==3.0.3; python_version >= "3.6"
langid==1.1.6; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
markupsafe==2.0.1; python_version >= "3.6"
numpy==1.21.1
pandas==1.3.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
pycountry==19.8.18; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
python-dateutil==2.8.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
python-stdnum==1.17; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
pytz==2021.3; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
requests-cache==0.6.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
requests==2.26.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
six==1.16.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
spdx-license-list==0.5.2; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
sqlalchemy==1.4.22; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
typing-extensions==4.0.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version < "3.8" and python_version >= "3.6"
url-normalize==1.4.3; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.6"
urllib3==1.26.7; python_full_version >= "3.7.1" and python_version < "4" and python_full_version < "4.0.0"
wcwidth==0.2.5; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.5"
werkzeug==2.0.2; python_version >= "3.6"
xlrd==1.2.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
zipp==3.6.0; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version < "3.8" and python_version >= "3.6"
ansi2html==1.8.0 ; python_version >= "3.9" and python_version < "4.0"
appdirs==1.4.4 ; python_version >= "3.9" and python_version < "4.0"
attrs==22.2.0 ; python_version >= "3.9" and python_version < "4.0"
cattrs==22.2.0 ; python_version >= "3.9" and python_version < "4.0"
certifi==2022.12.7 ; python_version >= "3.9" and python_version < "4"
charset-normalizer==3.0.1 ; python_version >= "3.9" and python_version < "4"
click==8.1.3 ; python_version >= "3.9" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.9" and python_version < "4.0"
country-converter @ git+https://github.com/alanorth/country_converter.git@myanmar-region ; python_version >= "3.9" and python_version < "4.0"
csv-metadata-quality @ git+https://github.com/ilri/csv-metadata-quality.git@v0.6.1 ; python_version >= "3.9" and python_version < "4.0"
exceptiongroup==1.1.0 ; python_version >= "3.9" and python_version < "3.11"
flask==2.2.3 ; python_version >= "3.9" and python_version < "4.0"
ftfy==6.1.1 ; python_version >= "3.9" and python_version < "4"
gunicorn==20.1.0 ; python_version >= "3.9" and python_version < "4.0"
idna==3.4 ; python_version >= "3.9" and python_version < "4"
importlib-metadata==6.0.0 ; python_version >= "3.9" and python_version < "3.10"
itsdangerous==2.1.2 ; python_version >= "3.9" and python_version < "4.0"
jinja2==3.1.2 ; python_version >= "3.9" and python_version < "4.0"
langid==1.1.6 ; python_version >= "3.9" and python_version < "4.0"
markupsafe==2.1.2 ; python_version >= "3.9" and python_version < "4.0"
numpy==1.24.2 ; python_version < "4.0" and python_version >= "3.9"
pandas==1.5.3 ; python_version >= "3.9" and python_version < "4.0"
pycountry @ git+https://github.com/alanorth/pycountry@iso-codes-4.12.0 ; python_version >= "3.9" and python_version < "4.0"
python-dateutil==2.8.2 ; python_version >= "3.9" and python_version < "4.0"
python-stdnum==1.18 ; python_version >= "3.9" and python_version < "4.0"
pytz==2022.7.1 ; python_version >= "3.9" and python_version < "4.0"
requests-cache==0.9.8 ; python_version >= "3.9" and python_version < "4.0"
requests==2.28.2 ; python_version >= "3.9" and python_version < "4"
setuptools==67.4.0 ; python_version >= "3.9" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.9" and python_version < "4.0"
url-normalize==1.4.3 ; python_version >= "3.9" and python_version < "4.0"
urllib3==1.26.14 ; python_version >= "3.9" and python_version < "4"
wcwidth==0.2.6 ; python_version >= "3.9" and python_version < "4"
werkzeug==2.2.3 ; python_version >= "3.9" and python_version < "4.0"
zipp==3.14.0 ; python_version >= "3.9" and python_version < "3.10"

View File

@ -1 +1 @@
python-3.9.9
python-3.10.5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 164 KiB