Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Upgrade outdated dependencies#200

Draft
slamora wants to merge 22 commits intotestingfrom
upgrade-dependencies
Draft

Upgrade outdated dependencies#200
slamora wants to merge 22 commits intotestingfrom
upgrade-dependencies

Conversation

@slamora
Copy link
Collaborator

@slamora slamora commented Feb 8, 2022

Package           Version   Latest  Type 
----------------- --------- ------- -----
alembic           1.4.2     1.7.6   wheel
anytree           2.4.3     2.8.0   wheel
apispec           0.39.0    5.1.1   wheel
boltons           18.0.1    21.0.0  wheel
click             6.7       8.0.3   wheel
click-spinner     0.1.8     0.1.10  wheel
colorama          0.3.9     0.4.4   wheel
Flask             1.0.2     2.0.2   wheel
Flask-SQLAlchemy  2.3.2     2.5.1   wheel
Flask-WeasyPrint  0.5       0.6     wheel
hashids           1.2.0     1.3.1   wheel
inflection        0.3.1     0.5.1   wheel
marshmallow       3.0.0b11  3.14.1  wheel
marshmallow-enum  1.4.1     1.5.1   wheel
mccabe            0.6.1     0.7.0   wheel
passlib           1.7.1     1.7.4   wheel
phonenumbers      8.9.11    8.12.42 wheel
psycopg2-binary   2.8.3     2.9.3   wheel
PyJWT             2.0.0a1   2.3.0   wheel
python-dateutil   2.7.3     2.8.2   wheel
python-decouple   3.3       3.6     wheel
python-dotenv     0.14.0    0.19.2  wheel
python-stdnum     1.9       1.17    wheel
PyYAML            5.4       6.0     wheel
requests-mock     1.5.2     1.9.3   wheel
sortedcontainers  2.1.0     2.4.0   wheel
SQLAlchemy        1.2.17    1.4.31  wheel
sqlalchemy-citext 1.3.post0 1.8.0   sdist
SQLAlchemy-Utils  0.33.11   0.38.2  wheel
tqdm              4.32.2    4.62.3  wheel
WeasyPrint        44        54.1    wheel
webargs           5.5.3     8.1.0   wheel
Werkzeug          0.15.5    2.0.3   wheel

Changes summary

  • Move devel & testing requirements to separate files.
  • Drop requirements that are not direct ereuse_devicehub requirements.
  • Drop unused requirements.txt
  • Upgrade dependencies

@slamora slamora added the dependencies Pull requests that update a dependency file label Feb 8, 2022
@slamora slamora self-assigned this Feb 8, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #200 (09649fe) into testing (0af1de4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           testing     #200   +/-   ##
========================================
  Coverage    91.20%   91.20%           
========================================
  Files           73       73           
  Lines         6662     6662           
========================================
  Hits          6076     6076           
  Misses         586      586           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0af1de4...09649fe. Read the comment docs.

@slamora
Copy link
Collaborator Author

slamora commented Apr 6, 2022

WIP Upgrading marshmallow & apispecs:

Related release notes of marshmallow: https://github.com/marshmallow-code/marshmallow/blob/f251dfb08d79c755c2e95371f2c5580bf5937e60/CHANGELOG.rst#300rc2-2019-01-03

apispec==4.7.1 # 5.1.1 (requires marshmallow >= 3.13.0)
marshmallow==3.0.0rc6
ImportError while loading conftest '/home/santiago/trabajo/usody/devicehub-teal/tests/conftest.py'.
tests/conftest.py:17: in <module>
    from ereuse_devicehub.config import DevicehubConfig
ereuse_devicehub/config.py:11: in <module>
    from ereuse_devicehub.resources import action, agent, deliverynote, inventory, \
ereuse_devicehub/resources/action/__init__.py:5: in <module>
    from ereuse_devicehub.resources.action import schemas
ereuse_devicehub/resources/action/schemas.py:18: in <module>
    from ereuse_devicehub.resources.device import schemas as s_device
ereuse_devicehub/resources/device/schemas.py:392: in <module>
    class Printer(Device):
ereuse_devicehub/resources/device/schemas.py:395: in Printer
    wireless = Boolean(required=True, missing=False, description=m.Printer.wireless.comment)
/tmp/env/lib/python3.8/site-packages/marshmallow/fields.py:985: in __init__
    super().__init__(**kwargs)
/tmp/env/lib/python3.8/site-packages/marshmallow/fields.py:175: in __init__
    raise ValueError("'missing' must not be set for required fields.")
E   ValueError: 'missing' must not be set for required fields.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants