Closed duncanmmacleod closed 5 years ago
As far as I know, nobody has tried to use Comet with Windows before, so I'm not surprised that there are problems. Given that, I can't really comment on whether they are limited to the test suite or are also an issue elsewhere, but the Appveyor log gives me no confidence that they'd be limited to the tests.
I don't have a Windows system to test on, but I'll try spinning up a VM and see if I can work out how to use it...
If you would prefer, I can restrict the Conda distribution to Unix-based systems?
I'm happy to spend a Saturday afternoon seeing if I can fix these issues. However, I'm not really familiar with Windows, so I can't give you promises or an ETA. If you want to make progress in the short term, maybe go ahead and push out a Unix-only distribution, and I'll update this ticket (and make a new release) as and when I get fixes in for Windows.
@jdswinbank, there's no rush on any of this, so please don't work on the weekend purely on my account. I'll push out a Unix-only release (probably finished on Monday) and will wait on another release for Windows support. My use case is Unix only anyway, its just that conda-forge CI gives you good Windows support with almost no effort.
The current master branch should now pass (or skip, in 6 cases) all of its tests on Windows. Fancy giving that a shot? If that works for you, I'll cut a 3.1 release including these changes.
@jdswinbank, I put together an appveyor Ci configuration for Comet in order to test your changes. All of the tests pass for me just run python -m twisted.trial comet
on python>=3.5 (there's a problem building twisted for python3.4 on Windows, but that version is not supported any more, so I don't really care). Thanks for taking a look at this in the first place.
If you are interested in adding Appveyor to your CI lineup for Comet, I can easily open a PR to merge the configuration into the main repo.
Hmm... it seems you already have an appveyor config that I didn't notice, so nevermind that last bit...
Great — thanks for confirming. I'm travelling over the next couple of days, but I'll push out a new release when I get a moment.
(And yes, I set up Appveyor for Comet yesterday... but thanks for the offer!)
Thanks @jdswinbank!
@jdswinbank, just a prompt on this, I'm in no rush, but am likely to forget completely before too long, which would be a shame.
Sorry for the delay! I just pushed out a release 3.1 — give it a try & let me know if it works for you.
I've heard no screaming since 3.1 went out, so I'm assuming this is working. :-)
In trying to build a Conda package for
Comet
, I am seeing test failures on Windows with python 3.7.1. Extract from the the build log:Have these errors been seen before? If its just that the test suite doesn't run on Windows, but the main library does, that can easily be worked around during conda builds.