Skip to content

Conversation

sebkuip
Copy link
Member

@sebkuip sebkuip commented Sep 3, 2022

sebkuip
sebkuip commented 18 minutes ago
Currently modmail uses load_dotenv to not rely on pipenv. Logviewer does not have this function. This update adds this load_dotenv along with changing logic in loading the mongo_uri to be more consistent. Including a clear exit message when no mongo_uri is found.

"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
"version": "==1.16.0"
},
"ujson": {
Copy link
Contributor

@Taaku18 Taaku18 Sep 3, 2022

Choose a reason for hiding this comment

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

Looks like you may need to run pipenv lock again. ujson and uvloop are speedup dependencies for sanic—not sure why they are removed.

Update: I tried relocking your Pipfile locally, and these two packages indeed came back. I'll merge the PR once you relock the dependencies. 😃

Copy link
Member Author

Choose a reason for hiding this comment

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

I have finally managd to get these fixed with a relock. Not sure what went different this time but it magically worked. Can you review again?

@sebkuip sebkuip requested a review from Taaku18 September 16, 2022 15:28
Copy link
Contributor

@Taaku18 Taaku18 left a comment

Choose a reason for hiding this comment

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

All good thanks, will merge.

@Taaku18 Taaku18 merged commit d62b25d into modmail-dev:master Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants