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

Windows compatibility #864

Merged
merged 11 commits into from
Jan 31, 2023
Merged

Conversation

Arayor
Copy link

@Arayor Arayor commented Jan 30, 2023

Closes #689

Proposed Changes

-Add compatibility to compile contracts on Windows OS.

TODO

  • Add support to run python3, python or py command, depending on which is available.
  • Refactor handling of not existing files to be OS agnostic, using error.code attribute instead error.errno.
  • Use Findstr command intead of grep if current OS is Windows.
  • Update change log

Potential followups

Currently, some unit tests assertions are not working on Windows because of the OS character difference (backslashes vs forward slashes, LF vs CR-LF). e.g.

image

image

I suggest implementing unit test support on Windows if the Windows developer community justifies it.

dependabot bot and others added 10 commits December 9, 2022 11:45
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](certifi/python-certifi@2022.09.24...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…le-it#865)

Bumps [activesupport](https://github.com/rails/rails) from 6.0.3.6 to 6.0.6.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.4.2/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v6.0.3.6...v6.0.6.1)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copy link
Member

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

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

utACK

@robert-zaremba
Copy link
Member

robert-zaremba commented Jan 31, 2023

Thanks for the contribution!
Could you rebase (or merge) your branch to make sure the CI checks will run with the package fix in master?

@Arayor
Copy link
Author

Arayor commented Jan 31, 2023

@robert-zaremba Sure! branch updated

@robert-zaremba robert-zaremba merged commit cae1923 into scale-it:develop Jan 31, 2023
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.

2 participants