Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[change] Update dependencies #203 #206

Merged
merged 9 commits into from
Mar 11, 2022

Conversation

yashikajotwani12
Copy link
Contributor

Fixes #203

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can you also update the dependency monitoring service as done in openwisp/openwisp-utils@243f119?

@coveralls
Copy link

coveralls commented Feb 7, 2022

Coverage Status

Coverage decreased (-0.1%) to 99.767% when pulling 22a0ae5 on yashikajotwani12:issue-203 into 109b3f4 on openwisp:master.

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the other outdated deps, see https://libraries.io/github/openwisp/netjsonconfig#repository_dependencies.

@yashikajotwani12
Copy link
Contributor Author

Please can you also update the dependency monitoring service as done in openwisp/openwisp-utils@243f119?

Yeah, sure I will. 👍🏻

Copy link
Member

@pandafy pandafy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yashikajotwani12 the latest version of jsonschema is 4.4.0. We should update that as well.

jinja2~=3.0.0
jsonschema>=3.0,<3.3
six

@nemesisdesign I think it will be save to remove six from the requirements. What do you think?

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nemesisdesign I think it will be save to remove six from the requirements. What do you think?

Yes we can remove it.

@yashikajotwani12
Copy link
Contributor Author

Screenshot from 2022-02-15 07-35-50

I checked through the docs and have updated jsonschema to the latest version, but here 3 tests are failing.

@pandafy pandafy self-requested a review February 24, 2022 10:09
Copy link
Member

@pandafy pandafy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hostname validation has been updated in jsonschema.

yashikajotwani12 and others added 8 commits March 10, 2022 21:54
updated the other outdated
deps

Fixes openwisp#203
The hostname validation has been adapted from jsonschema~=3.2.0
(jsonschema._format.is_host_name). The newer versions of
jsonschema enforces FQDN validation which is not always
required in OpenWISP. E.g. setting up hostname of a device.
@pandafy
Copy link
Member

pandafy commented Mar 10, 2022

I have fixed the failing tests. @yashikajotwani12 see 98d2ea4. Thank you for contributing. 😄

@pandafy pandafy added this to In progress in OpenWISP Priorities for next releases via automation Mar 10, 2022
@pandafy pandafy moved this from In progress to Ready for review/testing in OpenWISP Priorities for next releases Mar 10, 2022
@@ -11,7 +11,7 @@ on:

jobs:
build:
name: Python==${{ matrix.python-version }}
name: Python==${{ matrix.python-version }} | ${{ matrix.django-version }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yashikajotwani12 why did you made this change? This module is not dependent on Django.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I made it by mistake, I will take care next time, Thanks for the information

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

for component in components:
if len(component) > 63:
return False
return True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, thanks! 👍

@nemesifier nemesifier merged commit cfc388a into openwisp:master Mar 11, 2022
OpenWISP Priorities for next releases automation moved this from Ready for review/testing to Done Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[change] Update dependencies
4 participants