-
Notifications
You must be signed in to change notification settings - Fork 18
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
updated requirements #1438
updated requirements #1438
Conversation
🥳 Successfully deployed to developer sandbox ab. |
src/requirements.txt
Outdated
geventconnpool@ git+https://github.com/rasky/geventconnpool.git@1bbb93a714a331a069adf27265fe582d9ba7ecd4 | ||
geventconnpool@ git+https://github.com/rasky/geventconnpool.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Blocking) This will break the connection pool - it requires a specific commit number (of the latest commit). This library uses an old tag, so when you call this directly it grabs an old commit from 2014. Thats interesting that a pip update does that, maybe we need to discuss this in the next dev huddle?
This is one downside of that library but easily mitigated by forking it if we really need to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have that documented somewhere? This then breaks our current setup with updating python requirements to this will need to be added into the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abroddrick I was not aware of this issue, did you just follow the currently documented process to get this result?
Here is the only difference between fred / the gevent pool:
fred-epplib = {git = "https://github.com/cisagov/epplib.git", ref = "master"}
geventconnpool = {git = "https://github.com/rasky/geventconnpool.git", ref = "1bbb93a714a331a069adf27265fe582d9ba7ecd4"}
I wonder if this is simply a config thing, because it should be pointing towards a specific config number like it does for fred-epplib. I can include this in the documentation but we should pinpoint the underlying cause
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documented this in our files for now, I think the Pipfile will need to be updated to reflect this somehow so it doesn't keep changing, but I don't want to hold this one up longer
🥳 Successfully deployed to developer sandbox ab. |
🥳 Successfully deployed to developer sandbox ab. |
🥳 Successfully deployed to developer sandbox ab. |
🥳 Successfully deployed to developer sandbox ab. |
🥳 Successfully deployed to developer sandbox ab. |
Changes made, re-review requested
🥳 Successfully deployed to developer sandbox ab. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Works locally and on sandboxes
src/requirements.txt
Outdated
geventconnpool@ git+https://github.com/rasky/geventconnpool.git@1bbb93a714a331a069adf27265fe582d9ba7ecd4 | ||
geventconnpool@ git+https://github.com/rasky/geventconnpool.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abroddrick I was not aware of this issue, did you just follow the currently documented process to get this result?
Here is the only difference between fred / the gevent pool:
fred-epplib = {git = "https://github.com/cisagov/epplib.git", ref = "master"}
geventconnpool = {git = "https://github.com/rasky/geventconnpool.git", ref = "1bbb93a714a331a069adf27265fe582d9ba7ecd4"}
I wonder if this is simply a config thing, because it should be pointing towards a specific config number like it does for fred-epplib. I can include this in the documentation but we should pinpoint the underlying cause
3. Change geventconnpool back to what it was originally within the Pipfile.lock and requirements.txt. | ||
This is done by either saving what it was originally or opening a PR and using that as a reference to undo changes to any mention of geventconnpool. | ||
Geventconnpool, when set as a requirement without the reference portion, is defaulting to get a commit from 2014 which then breaks the code, as we want the newest version from them. | ||
4. (optional) Run `docker-compose stop` and `docker-compose build` to build a new image for local development with the updated dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!!
Ticket
updated dependencies
Changes
Context for reviewers
a few updates got through without both these files being updated so this is to make sure all requirements are up to date.
Setup
Code Review Verification Steps
As the original developer, I have
Satisfied acceptance criteria and met development standards
Ensured code standards are met (Original Developer)
Validated user-facing changes (if applicable)
As a code reviewer, I have
Reviewed, tested, and left feedback about the changes
Ensured code standards are met (Code reviewer)
Validated user-facing changes as a developer
New pages have been added to .pa11yci file so that they will be tested with our automated accessibility testing
Checked keyboard navigability
Meets all designs and user flows provided by design/product
Tested general usability, landmarks, page header structure, and links with a screen reader (such as Voiceover or ANDI)
Tested with multiple browsers, the suggestion is to use ones that the developer didn't (check off which ones were used)
(Rarely needed) Tested as both an analyst and applicant user
Note: Multiple code reviewers can share the checklists above, a second reviewers should not make a duplicate checklist
As a designer reviewer, I have
Verified that the changes match the design intention
Validated user-facing changes as a designer
Checked keyboard navigability
Tested general usability, landmarks, page header structure, and links with a screen reader (such as Voiceover or ANDI)
Tested with multiple browsers (check off which ones were used)
(Rarely needed) Tested as both an analyst and applicant user
Screenshots