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

Scorched earth 2 #184

Merged
merged 50 commits into from
Jun 10, 2024
Merged

Conversation

wyfo
Copy link
Contributor

@wyfo wyfo commented Apr 18, 2024

Complete rewriting using only Rust code (and Python stub)

Copy link
Contributor

@evshary evshary left a comment

Choose a reason for hiding this comment

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

I guess we need to fix the conflict first.

src/session.rs Show resolved Hide resolved
src/queryable.rs Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/config.rs Show resolved Hide resolved
zenoh/__init__.py Show resolved Hide resolved
src/value.rs Show resolved Hide resolved
src/handlers.rs Show resolved Hide resolved
@wyfo
Copy link
Contributor Author

wyfo commented Apr 22, 2024

@evshary I've updated the years because it has been rewritten from scratch, so I think it's pertinent.

@wyfo wyfo force-pushed the scorched_earth_2 branch from ab1152c to 5defb25 Compare April 25, 2024 11:06
wyfo and others added 21 commits April 25, 2024 16:47
Roughly adapt the code to the new PyO3 API, with a few warning fixes.
* fix(examples): fix commented parts of z_put.py

* fix: apply PR reviews

* fix: apply PR reviews
* build: Get Read the Docs release number from Cargo manifest

This avoids hardcoding the release number in the documentation build config,
making it easier to bump the version by only modifying the manifest.

* build: Require Python 3.11 in Read the Docs configuration

Python 3.11 is needed to access tomllib; useful for parsing the Cargo manifest file.

* feat: Create branch, bump version and tag in release workflow

* feat: Add publish-github job

* fix: Broken tag dependencies

* chore: Remove enforce-linking-issues workflow

* fix: Bump version in pyproject.toml

* chore: Upgrade artifact actions from v3 to v4

* fix: Typo in git-commit command

* fix: Support jq 1.6

ubuntu-22.04 runners use jq 1.6 which doesn't recognize a dot for `[]` value iterator.

See: jqlang/jq#1168.

* Revert "chore: Upgrade artifact actions from v3 to v4"

This reverts commit a535971.

* fix: Build wheels from release branch

* fix: Switch to pypa/gh-action-pypi-publish@release/v1

The older actions doesn't recognize the pyproject.toml metadata fields.
Complete rewriting using only Rust code (and Python stub)
@wyfo wyfo force-pushed the scorched_earth_2 branch from 2fcc34f to 0353934 Compare April 25, 2024 14:48
@wyfo
Copy link
Contributor Author

wyfo commented Apr 25, 2024

The doc rendition is not good, because it doesn't seem to take in account the change that I made in .readthedocs.yml. I've tested it on my side, and it works fine.

@wyfo wyfo force-pushed the scorched_earth_2 branch from 0353934 to 53fa3d7 Compare April 25, 2024 14:52
@wyfo
Copy link
Contributor Author

wyfo commented Apr 25, 2024

Tests doesn't pass because it seems I've resolved a bug, which was taken in account in the tests. In fact, some tests was not able to be stopped with SIGINT, and required to be killed.
~~It's no more the case with this PR~It's still the case with this PR. I've spent one hour trying to determine what was the cause of this bug on main, but I'm ashamed to admit I failed; I don't know what is causing this kind of deadlocks in the tests.
Anyway, I should update the tests to not expect programs to be killed.
@evshary If you have information about this, I would be very interested.

@wyfo
Copy link
Contributor Author

wyfo commented May 6, 2024

The tests doesn't pass yet because of the deadlock issue in the examples. It's caused by relying on pseudo-RAII while exiting tests with an exception, which causes finalizers to run while Python interpreter is shutting down.
Solving this issue requires an important discussion about RAII use, so for now, the tests aren't touched.

@fuzzypixelz
Copy link
Member

@wyfo Please change the base branch to dev/1.0.0 as protocol_changes is no longer the development branch.

@wyfo wyfo changed the base branch from protocol_changes to dev/1.0.0 May 17, 2024 10:25
@wyfo wyfo force-pushed the scorched_earth_2 branch from 7c5e489 to e02acc9 Compare June 3, 2024 16:05
@milyin milyin merged commit 17c66ad into eclipse-zenoh:dev/1.0.0 Jun 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

6 participants