# Supporting compas\<2.0 in compas\_notebook?

**URL:** <https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831>\
**Category:** Uncategorized\
**Created:** [April 18, 2024, 7:31pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831 "2024-04-18T19:31:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![arpastrana](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@arpastrana](https://forum.compas-framework.org/u/arpastrana)\
**Post date:** [April 18, 2024, 7:31pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/1 "2024-04-18T19:31:31Z")

</div>

Hi all,

I pinned `compas-notebook=0.3.3` some time ago as a dependency for [jax\_fdm](https://github.com/arpastrana/jax_fdm) and it worked like a charm. Until Github actions told me otherwise last week.

Is there a pip- or conda-installable version of `compas-notebook` that supports `compas<2.0` out of the box?

I was surprised not only to see that version `0.3.3` was not available on `pypi` anymore, but that all previous and subsequent published versions of `compas-notebook` on `pypi` require `compas>2.0`.  
`jax_fdm` will be pinned to `compas<2.0` for the next couple of months, but I need `compas-notebook` to continue working smoothly with a group of collaborators for the coming weeks on a project that relies on displaying stuff on jupyter notebooks / google colab.

Thanks for your help,  
~Rafael

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 7, 2024, 10:33pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/2 "2024-05-07T22:33:14Z")

</div>

hi rafael,

`compas_notebook` is indeed meant for COMPAS 2 only, and has no releases that are compatible with COMPAS 1.

the version of `compas_notebook` that was available on PyPI for COMPAS 1 was unfortunately a very old and accidental release that has been replaced completely.

if you let me know which functionality you need specifically, perhaps we can come up with a temp solution for your current collaboration?

best,  
tom

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 7, 2024, 10:34pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/3 "2024-05-07T22:34:28Z")

</div>

@Li_Chen do you still have a version of the old `compas_notebook` backed up somewhere?

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 7, 2024, 10:37pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/4 "2024-05-07T22:37:24Z")

</div>

@arpastrana i have sent an invitation for the old archived repo to arpastrana on github…

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 8, 2024, 6:39am UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/5 "2024-05-08T06:39:12Z")

</div>

@arpastrana could you check if a source install with this repo works for you? then we can take it from there…

---

<div class="post-metadata">

**Author:** ![arpastrana](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@arpastrana](https://forum.compas-framework.org/u/arpastrana)\
**Post date:** [May 8, 2024, 2:03pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/6 "2024-05-08T14:03:52Z")

</div>

Hey @tomvanmele, thanks for the access to the old repo! I got it. Let me test the source install later today and get back to you as soon as I have news.

---

<div class="post-metadata">

**Author:** ![arpastrana](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@arpastrana](https://forum.compas-framework.org/u/arpastrana)\
**Post date:** [May 8, 2024, 9:31pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/7 "2024-05-08T21:31:47Z")

</div>

Hi @tomvanmele. I have cloned and installed that repo from source. I need to mirror the code to a public repository on my account to be able to install it on google collab via `!pip install git+<repo url>`. I went ahead and did it to check if it works on collab. It does. But to double check, would we be okay with me republishing the code? Thanks.

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 9, 2024, 7:37am UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/8 "2024-05-09T07:37:00Z")

</div>

yes, no problem. happy that the problem is solved…

---

<div class="post-metadata">

**Author:** ![arpastrana](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@arpastrana](https://forum.compas-framework.org/u/arpastrana)\
**Post date:** [May 9, 2024, 11:36am UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/9 "2024-05-09T11:36:53Z")

</div>

Excellent, thanks for helping me resolve this!  
In other things, is there a summary somewhere that informs compas developers about what changed (especially what doesn’t work anymore) between compas 1 and 2, and how to migrate between versions? This would be very helpful to speed up the transitioning.

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 10, 2024, 11:00am UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/10 "2024-05-10T11:00:55Z")

</div>

yes, we are working on a migration guide for the docs. i will add a first draft soon. we will also go through most of this during the developer day on the 30th of May…

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [May 10, 2024, 11:02am UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/11 "2024-05-10T11:02:28Z")

</div>

> **[COMPAS Developer Day | LinkedIn](https://www.linkedin.com/events/7193877501016768512/)**
>
> Join us for the first ever COMPAS Developer Day! An event tailored for computational architects, designers and engineers eager to delve into the latest innovations within the COMPAS framework and its expanding ecosystem.
> 
> The COMPAS Core Development...

---

<div class="post-metadata">

**Author:** ![arpastrana](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@arpastrana](https://forum.compas-framework.org/u/arpastrana)\
**Post date:** [May 14, 2024, 3:50pm UTC](https://forum.compas-framework.org/t/supporting-compas-2-0-in-compas-notebook/831/12 "2024-05-14T15:50:22Z")

</div>

Wish I could go! But you know, Zurich is a bit far at the moment 🤓 Looking forward to the outcomes of the dev day and to the migration guide!
