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

Procedures/Options for resolving package conflicts among courses. #2884

Open
felder opened this issue Oct 14, 2021 · 2 comments
Open

Procedures/Options for resolving package conflicts among courses. #2884

felder opened this issue Oct 14, 2021 · 2 comments
Assignees
Labels
enhancement Issues around improving existing functionality

Comments

@felder
Copy link
Contributor

felder commented Oct 14, 2021

Summary

Issue #2882 highlights a known problem of multiple courses sometimes requiring different versions of the same package. We currently do not have a lot of really good solutions. Currently we can:

  1. Have one of the classes switch hubs.
  2. Have one of the classes manually install a different version of the conflicting package.
  3. Setup alternative environments (when possible) that have differing versions of the same package.
  4. See if the courses are ok with changing the version of the package they are using.

User Stories

As an instructor my course needs a different version of a package that is currently required by another course.

Acceptance criteria

Datahub operations has better options for allowing multiple versions of the same package to co-exist on the same hub until course specific hubs are a thing.

Important information

#2882 #2782 No doubt there are other issues as well.

Tasks to complete

Options and documentation for implementing those options. No doubt different software systems will require different solutions. For example python vs R.

@felder
Copy link
Contributor Author

felder commented Oct 14, 2021

In slack @ryanlovett writes:

"one way of addressing package conflicts like this is, other than course-specific images, is to have course-specific library paths. we could do it with an environment variable the same way that we bump RAM. i.e. "if user in course, append /path/to/stat-20/libs to R's library path". then in the class-libs function we can have the courses specify their own library path."

@felder felder added the enhancement Issues around improving existing functionality label Oct 14, 2021
@balajialg
Copy link
Contributor

Just to understand the complexity of different course requirements, Sharing the hub vs course mapping here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues around improving existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants