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

Add ranges for requirements.txt and requirements-test.txt #253

Merged
merged 17 commits into from
Oct 6, 2020

Conversation

alex-l-kong
Copy link
Contributor

@alex-l-kong alex-l-kong commented Oct 1, 2020

What is the purpose of this PR?

Addresses and closes #247.

How did you implement your changes

We add ranges to the libraries in requirements.txt and requirements-test.txt to add more flexibility.

Remaining issues

Some ranges are going to be weird because of, well, ongoing development on the libraries we're using. For example, pretty sure that skimage will break for our repo if we use the latest non-dev version (some functionality has shifted around). Could require a lot of testing.

@alex-l-kong alex-l-kong self-assigned this Oct 1, 2020
@alex-l-kong alex-l-kong changed the title Add ranges for requirement.txt and requirements-test.txt Add ranges for requirements.txt and requirements-test.txt Oct 1, 2020
Copy link
Contributor

@ackagel ackagel left a comment

Choose a reason for hiding this comment

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

looks good. just a question about scikit-image and git repo packages (mibilib)

requirements.txt Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
requirements-test.txt Show resolved Hide resolved
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Can you also confirm that all of these are still needed?

@alex-l-kong
Copy link
Contributor Author

Can you also confirm that all of these are still needed?

Good catch, we could remove a lot of the libraries in requirements.txt.

On a side note, can you configure the version of six on Travis to be 1.15.0? I mentioned this in Slack, but right now, Travis defaults to 1.11.0, and it's throwing errors. If we can't do anything on Travis' end, I think we should get this branch merged in ASAP so that the rest of the team can begin testing normally.

Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Same thing here, we'll see if the six issue gets addressed by Will tomorrow, if not we can merge this

@alex-l-kong alex-l-kong merged commit 2773973 into master Oct 6, 2020
@alex-l-kong alex-l-kong deleted the req_ranges branch October 6, 2020 17:58
alex-l-kong added a commit that referenced this pull request Jan 14, 2021
* Create ranges for requirements

* Fix range error for numpy

* Test new range for scikit-image

* Revert range back to 0.16.2

* Update mibilib to 1.2.8

* Update mibilib to 1.3.0

* Add ranges to requirements-test.txt

* Add new requirements testing

* See if force installing the most updated version of six does the trick

* Don't cache packages

* Revert back to original settings

* Delete packages no longer needed

* Now that kiosk-client patch added, try removing six and see if it works

* Update requirements.txt to use new kiosk-client version

* No longer need attrs in requirements-test.txt
y2kbugger pushed a commit that referenced this pull request Jul 29, 2021
* Create ranges for requirements

* Fix range error for numpy

* Test new range for scikit-image

* Revert range back to 0.16.2

* Update mibilib to 1.2.8

* Update mibilib to 1.3.0

* Add ranges to requirements-test.txt

* Add new requirements testing

* See if force installing the most updated version of six does the trick

* Don't cache packages

* Revert back to original settings

* Delete packages no longer needed

* Now that kiosk-client patch added, try removing six and see if it works

* Update requirements.txt to use new kiosk-client version

* No longer need attrs in requirements-test.txt
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.

Update pinned versions in requirements files
3 participants