Граф коммитов

115 Коммитов

Автор SHA1 Сообщение Дата
Benedikt Reinartz 3e2dff02bc
Add ruff formatting and linting (#65) 2024-07-10 09:23:39 +02:00
Benedikt Reinartz f2058b49ee Ensure that an uninitialised NetFx object does not fail in shutdown 2023-11-21 12:22:31 +01:00
Benedikt Reinartz a88b6a1a00
Merge pull request #42 from pythonnet/netfx-domain
.NET Framework domains
2023-08-07 16:47:56 +02:00
Benedikt Reinartz 59f47f9088 Move netfx tests to individual subprocesses 2023-08-07 16:22:10 +02:00
Benedikt Reinartz 05235b979a Add unit test for using a separate domain 2023-08-07 15:26:06 +02:00
Benedikt Reinartz 70e2c72da9 Fix parameter passing for .NET Framework domains 2023-08-07 15:24:35 +02:00
Benedikt Reinartz 000bc780b3
Delay actually loading the runtime to fix property setting (#63)
* Delay actually loading the runtime to fix property setting
* Launch test for properties in separate process
2023-08-07 15:21:26 +02:00
Benedikt Reinartz 63d7f698d3
Fix handling of non-ASCII assembly paths on .NET Framework (#62) 2023-08-07 14:39:44 +02:00
Benedikt Reinartz d8f51e9e28 Drop CI for EOLd Python 3.7 2023-08-07 14:33:45 +02:00
Benedikt Reinartz 7dd9b46309 Add Python 3.11 to CI 2023-08-07 14:10:46 +02:00
Mohamed Koubaa 79d6c6792e
fix mono set dirs (#48)
* fix mono set dirs

* fix path
2023-01-13 11:52:54 +01:00
Benedikt Reinartz a56d77cd98
Fix macOS dotnet root discovery (#45) 2023-01-03 13:08:24 +01:00
Mohamed Koubaa 717e797616
Add support for mono_set_dirs (#43)
* add support for mono_set_dirs
* add set_signal_chaining flag
* add tests
2023-01-03 13:08:04 +01:00
Benedikt Reinartz c6b464942f Adjust CI to only run once on pull requests 2023-01-03 12:58:41 +01:00
Benedikt Reinartz c5d1a92892
Run test for autogenerated config in subprocess (#47)
Only a single version of a dotnet-core runtime can be loaded at a given
time. This off-loads one of our tests to a subprocess (the same pattern
would work if we did this for the other test). Could be cleaner, but
this will do for now.
2023-01-03 12:57:47 +01:00
Benedikt Reinartz 690a756757 Add deployment to CI 2022-10-15 09:39:16 +02:00
Benedikt Reinartz 0e7b2f16a7
Split package build from testing (#39) 2022-10-14 22:52:29 +02:00
Benedikt Reinartz ba68d16017 Parse the FXR version to properly select the newest one 2022-10-14 15:49:19 +02:00
Benedikt Reinartz ba0a3535e7 Format 2022-10-14 15:48:00 +02:00
Benedikt Reinartz 15ede715c5 Allow loading libhostfxr directly from the dotnet_root
This is a prerequisite to load self-contained components (which is still
not supported upstream, though).
2022-10-12 20:10:39 +02:00
Benedikt Reinartz 9c24c89cea Define self._handle up-front to prevent warning in __del__
Since initialization failures happen (usually) in `get_handle`, the
instance would not have a proper `self._handle` defined and fail on
`__del__` which checks for this field's value.
2022-10-12 20:10:36 +02:00
DongGeon Lee cba6ebfdcd
Fix to find dotnet root on 64-bits darwin system (#37) 2022-10-10 12:06:10 +02:00
Benedikt Reinartz 1df0f23d7b Fix autodoc not loading clr_loader from the repository 2022-09-23 07:34:31 +02:00
Benedikt Reinartz c1e337592f
Switch to Furo theme and use custom step (#33)
The "published" step uses an ages old version of Sphinx (2.2.4). This
should also fix issues with links to referenced functions.
2022-09-17 17:01:02 +02:00
Benedikt Reinartz 435b6b3b7b Fix links to reference in documentation 2022-09-17 09:06:03 +02:00
Benedikt Reinartz 979099a03e Bump version to v0.2.3 2022-09-17 00:29:21 +02:00
Benedikt Reinartz 6532799bc0 Use same setup.py as pythonnet 2022-09-17 00:28:50 +02:00
Benedikt Reinartz c51bf95efe Bump version to v0.2.2 2022-09-16 23:46:10 +02:00
Benedikt Reinartz 82c671b950 Fix accidental overwrite of domain field in NetFx 2022-09-16 23:45:26 +02:00
Benedikt Reinartz 8360ed6c70 Update README and bump version 2022-09-16 23:11:53 +02:00
Benedikt Reinartz eca7d8b817 Drop accidentally left debug print 2022-09-16 23:11:33 +02:00
Benedikt Reinartz 569e5e3f4e Bump version to v0.2.0 2022-09-16 21:13:52 +02:00
Benedikt Reinartz 65d5bf9148 Add write permissions to documentation deploy job 2022-09-16 21:05:28 +02:00
Benedikt Reinartz 80b17321a1
Merge pull request #32 from pythonnet/documentation
Documentation
2022-09-16 21:01:13 +02:00
Benedikt Reinartz 4cbd29f91e Build documentation in CI 2022-09-16 20:55:40 +02:00
Benedikt Reinartz b14e7f70df Add documentation 2022-09-16 20:55:40 +02:00
Benedikt Reinartz 46143d400b
Refactoring to improve API and allow configless .NET Core loading (#31)
- Drop `Runtime` wrapper in favour of an abstract base class
- Use `pathlib` throughout and allow it as parameter
- Expose a `shutdown` method (that is a noop in most cases, but at least
  it exists)
- Add functions to find all installed .NET Core runtimes
- If no runtime configuration is given, generate a simple one in a
  temporary directory
2022-09-16 20:30:49 +02:00
Benedikt Reinartz f6cc833ca2 Use .NET 6 for building 2022-07-12 20:21:20 +02:00
Benedikt Reinartz 7ac4360a99 Drop support for Python 3.6 2022-07-12 19:42:49 +02:00
Benedikt Reinartz 1efebe4dc3 Move setuptools config to pyproject.toml
- Drop flake8 config
- Reformat with black
- Use .NET 6.0 for the example/test project
2022-07-08 01:28:02 +02:00
Vince 6d6f7a1047
Fix issue 24: macOS: dotnet from fixed path when DOTNET_ROOT not set (#25)
* Fix issue 24: Find dotnet on macos from fixed location when DOTNET_ROOT is not defined

Co-authored-by: LUFF,VINCE (K-UnitedKingdom,ex1) <vince.luff@keysight.com>
2022-03-01 12:17:18 +01:00
Marco Rossi d36d5483a1
Add conda-forge badge (#23) 2022-01-12 16:13:46 +01:00
Victor bead884aae
ARM64 CI (#22) 2022-01-12 16:13:18 +01:00
Victor 5b18691ce0
warn if Mono version is <= 6.12 (#21) 2022-01-09 08:04:28 +01:00
Benedikt Reinartz 8293122c8c
Drop pypy3 from CI for now
The setup-python step seems to be failing, need to investigate this
2021-12-22 10:12:48 +01:00
Benedikt Reinartz f6761de7be
Actually make dotnet-config configurable 2021-12-13 18:29:39 +01:00
Victor c282eadea8
Bump version to 0.1.7 (#17) 2021-11-19 13:15:58 +01:00
Victor 699c6d640e
Allow mono debugging and jit flags (#16) 2021-11-16 22:58:01 +01:00
Vince c8ca462bdb
Fix issue 14 for 32 bit Windows (#15)
Co-authored-by: LUFF,VINCE (K-UnitedKingdom,ex1) <vince.luff@keysight.com>
2021-11-10 20:17:54 +01:00
Benedikt Reinartz e951b92487 Bump version to 0.1.6 2021-04-04 23:16:57 +02:00